aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/BaseEditDialogController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-21 16:22:28 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-21 16:22:28 +1200
commit318ad837e5e9b26a8320c93114806514fc629166 (patch)
treef2eaa15b4fac5038a8b483351c32c3d6205b6590 /web/app/view/BaseEditDialogController.js
parent1bd459e27af45dda6011d113cc0e49fe79cb673d (diff)
downloadtrackermap-server-318ad837e5e9b26a8320c93114806514fc629166.tar.gz
trackermap-server-318ad837e5e9b26a8320c93114806514fc629166.tar.bz2
trackermap-server-318ad837e5e9b26a8320c93114806514fc629166.zip
Refactor commands dialog classes
Diffstat (limited to 'web/app/view/BaseEditDialogController.js')
-rw-r--r--web/app/view/BaseEditDialogController.js6
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();
}
});