aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/BaseEditController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog/BaseEditController.js')
-rw-r--r--web/app/view/dialog/BaseEditController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/dialog/BaseEditController.js b/web/app/view/dialog/BaseEditController.js
index f58b6cb7..91379e2d 100644
--- a/web/app/view/dialog/BaseEditController.js
+++ b/web/app/view/dialog/BaseEditController.js
@@ -43,7 +43,7 @@ Ext.define('Traccar.view.dialog.BaseEditController', {
} else {
record.save();
}
- button.up('window').close();
+ this.closeView();
},
showAttributesView: function (button) {