Author: hnategh
New Revision: 54908
URL: http://svn.stylite.de/viewvc/egroupware?rev=54908&view=rev
Log:
Mobile theme W.I.P.:
- Implement hideOnMobile option for action system in order to be able to disable specific action in mobile
Modified:
trunk/phpgwapi/js/egw_action/egw_action.js
— trunk/phpgwapi/js/egw_action/egw_action.js (original)
+++ trunk/phpgwapi/js/egw_action/egw_action.js Wed Feb 3 14:12:37 2016
@@ -197,6 +197,7 @@
{
this.set_onExecute(_onExecute);
}
- this.hideOnMobile = false;
}
/**
@@ -643,6 +644,11 @@
this.hideOnDisabled = _value;
};
+egwAction.prototype.set_hideOnMobile = function(_value)
+{
- this.hideOnMobile = _value;
+};
-
egwAction.prototype.set_data = function(_value)
{
this.data = _value;
@@ -2075,7 +2081,8 @@
(actionLinks[k].actionObj.allowOnMultiple == “only” && actionLinks[k].cnt > 1) ||
(actionLinks[k].actionObj.allowOnMultiple == false && actionLinks[k].cnt == 1)
);
-
if (!egwIsMobile()) actionLinks[k].actionObj.hideOnMobile = false;
-
actionLinks[k].visible = actionLinks[k].visible && !actionLinks[k].actionObj.hideOnMobile &&
(actionLinks[k].enabled || !actionLinks[k].actionObj.hideOnDisabled);
}
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs