diff options
Diffstat (limited to 'web/app/view/BaseEditDialogController.js')
-rw-r--r-- | web/app/view/BaseEditDialogController.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/web/app/view/BaseEditDialogController.js b/web/app/view/BaseEditDialogController.js index ca090f714..df4db0e50 100644 --- a/web/app/view/BaseEditDialogController.js +++ b/web/app/view/BaseEditDialogController.js @@ -15,7 +15,7 @@ */ Ext.define('Traccar.view.BaseEditDialogController', { - extend: 'Ext.app.ViewController', + extend: 'Traccar.view.BaseDialogController', alias: 'controller.baseEditDialog', onSaveClick: function(button) { @@ -23,9 +23,5 @@ Ext.define('Traccar.view.BaseEditDialogController', { dialog.updateRecord(); dialog.getRecord().save(); button.up('window').close(); - }, - - onCancelClick: function(button) { - button.up('window').close(); } }); |