Mercurial > libervia-web
diff browser_side/menu.py @ 215:e830a0c60d32
server side: added the security_limit to setParam
- in addition to the check which is done by the core, libervia checks if the param to be modified was really part of the XML that has been returned by getParams with security_limit = 0.
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 07 Sep 2013 02:07:07 +0200 |
parents | 3092f6b1710c |
children | 4e6467efd6bf |
line wrap: on
line diff
--- a/browser_side/menu.py Fri Sep 06 16:23:30 2013 +0200 +++ b/browser_side/menu.py Sat Sep 07 02:07:07 2013 +0200 @@ -326,6 +326,7 @@ def onParameters(self): def gotParams(xmlui): + # TODO: don't display the dialog if xmlui contains no param node body = XMLUI(self.host, xmlui) _dialog = dialog.GenericDialog("Parameters", body, options=['NO_CLOSE']) body.setCloseCb(_dialog.close)