This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Change "visdimopacity & visdim"
#9
Hi,

The changes are made server side and the client (browser) has no clue that that was done, so you always need to refresh..

Here is a custom JS to refresh to browser from server side (needs to be loaded so 1 refresh is needed after adding the JS)
Code:
$(function(){
  if (typeof grp != 'undefined') {
   grp.listen('1/1/1', function(object, state) {
     if (state == 'value') {
         location.reload();
     }
   }, true);
  }
});
Change 1/1/1 to the same address that triggers the uci update

BR,

Erwin
Reply


Messages In This Thread
Change "visdimopacity & visdim" - by JMM - 09.08.2017, 12:23
RE: Change "visdimopacity & visdim" - by JMM - 10.08.2017, 11:24
RE: Change "visdimopacity & visdim" - by Erwin van der Zwart - 16.06.2020, 06:32

Forum Jump: