[Lada-commits] [PATCH] removed unused legacy code
Wald Commits
scm-commit at wald.intevation.org
Wed Feb 8 16:33:15 CET 2017
# HG changeset patch
# User Maximilian Krambach <mkrambach at intevation.de>
# Date 1486567992 -3600
# Node ID 75b1b0d7dece476e94b0b1d1d3835b1a524bd8f6
# Parent d2a0cb1e559617513b4b7aa0a22d5b598fc35404
removed unused legacy code
diff -r d2a0cb1e5596 -r 75b1b0d7dece app/controller/Ort.js
--- a/app/controller/Ort.js Wed Feb 08 15:46:58 2017 +0100
+++ b/app/controller/Ort.js Wed Feb 08 16:33:12 2017 +0100
@@ -29,25 +29,10 @@
edit: me.gridSave,
canceledit: me.cancelEdit,
select: me.selectWindow
- },
- 'ortpanel map': {
- featureadded: me.featureadded
}
});
},
- featureadded: function(record) {
- var grid = Ext.ComponentQuery.query('ortpanel ortstammdatengrid')[0];
- if (grid.getCollapsed()) {
- grid.expand();
- }
- if (!record.get('letzteAenderung')) {
- record.data.letzteAenderung = new Date();
- }
- grid.store.insert(0, record);
- grid.rowEditing.startEdit(0, 1);
- },
-
activateDraw: function(button) {
var map = button.up('ortpanel').down('map');
var record = Ext.create('Lada.model.Ort');
More information about the Lada-commits
mailing list