diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-11 23:10:50 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-11 23:10:50 +1300 |
commit | aba34e0e9af2f8bc35a1d3d10380d52aa164a012 (patch) | |
tree | acb2473f07a7cb02f5f7d8cdcd3f06cc2f6abce6 /web/app/view/SettingsMenuController.js | |
parent | 2eeb2a1bdc6a11a115a6774a49a21d88abb63056 (diff) | |
parent | f8e90b20d08bbd00cd7d5657c91c364b47288ae6 (diff) | |
download | trackermap-web-aba34e0e9af2f8bc35a1d3d10380d52aa164a012.tar.gz trackermap-web-aba34e0e9af2f8bc35a1d3d10380d52aa164a012.tar.bz2 trackermap-web-aba34e0e9af2f8bc35a1d3d10380d52aa164a012.zip |
Merge pull request #432 from Abyss777/fix_userdialog
Use init instead of onShow in UserDialog
Diffstat (limited to 'web/app/view/SettingsMenuController.js')
-rw-r--r-- | web/app/view/SettingsMenuController.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js index 41867f61..8d1e5634 100644 --- a/web/app/view/SettingsMenuController.js +++ b/web/app/view/SettingsMenuController.js @@ -61,7 +61,9 @@ Ext.define('Traccar.view.SettingsMenuController', { }, onUserClick: function () { - var dialog = Ext.create('Traccar.view.UserDialog'); + var dialog = Ext.create('Traccar.view.UserDialog', { + selfEdit: true + }); dialog.down('form').loadRecord(Traccar.app.getUser()); dialog.lookupReference('testNotificationButton').setHidden(false); dialog.show(); |