Mercurial > libervia-web
diff browser_side/xmlui.py @ 325:d07b54fdc60a
reverted changeset: bfbd9d6eb901
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 07 Jan 2014 15:39:16 +0100 |
parents | bfbd9d6eb901 |
children | e8c26e24a6c7 |
line wrap: on
line diff
--- a/browser_side/xmlui.py Sat Jan 04 02:38:23 2014 +0100 +++ b/browser_side/xmlui.py Tue Jan 07 15:39:16 2014 +0100 @@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. """ -from sat.core.i18n import _ from pyjamas.ui.VerticalPanel import VerticalPanel from pyjamas.ui.HorizontalPanel import HorizontalPanel from pyjamas.ui.CellPanel import CellPanel @@ -33,7 +32,6 @@ from pyjamas.ui.CheckBox import CheckBox from pyjamas.ui.ListBox import ListBox from pyjamas.ui.Button import Button -from dialog import InfoDialog from nativedom import NativeDOM @@ -272,7 +270,6 @@ def onSaveParams(self, button): print "onSaveParams" - refresh = False for ctrl in self.param_changed: if isinstance(ctrl, CheckBox): value = "true" if ctrl.isChecked() else "false" @@ -281,8 +278,4 @@ else: value = ctrl.getText() self.host.bridge.call('setParam', None, ctrl._param_name, value, ctrl._param_category) - if ctrl._param_name in self.host.ui_refresh_params: - refresh = True self.close() - if refresh: - InfoDialog(_("Refresh needed"), _("A parameter requesting a page refresh has been modified.<br/>Your changes will be fully effective only after you refresh the page with 'F5' or from your browser menu.")).show()