14.06.2016, 07:31
buuuudzik, have a look at this example for AND / OR status calculation:
http://forum.logicmachine.net/showthread...18#pid1518
Note: you should avoid accessing the database directly, there's no guarantee that there won't be any changes in the firmware which can completely break your scripts which are using undocumented "features"
gtsamis
Add a unique CSS class (open-widget in this example) to the button that open's your widget, then use this code to trigger click on the button:
Put this after showPlan so the correct plan containing the widget is shown first.
http://forum.logicmachine.net/showthread...18#pid1518
Note: you should avoid accessing the database directly, there's no guarantee that there won't be any changes in the firmware which can completely break your scripts which are using undocumented "features"
gtsamis
Add a unique CSS class (open-widget in this example) to the button that open's your widget, then use this code to trigger click on the button:
Code:
$('.open-widget').trigger('vclick')
Put this after showPlan so the correct plan containing the widget is shown first.