comparison app/view/window/MessungEdit.js @ 997:c943340176d4

Disable the statusresetbutton
author Dustin Demuth <dustin@intevation.de>
date Fri, 08 Jan 2016 14:43:41 +0100
parents bf7bb9583a40
children d8e74bd89d6b
comparison
equal deleted inserted replaced
996:bf7bb9583a40 997:c943340176d4
176 this.enableStatusEdit(); 176 this.enableStatusEdit();
177 } 177 }
178 else { 178 else {
179 this.disableStatusEdit(); 179 this.disableStatusEdit();
180 } 180 }
181 //Check if it is allowed to reset Status 181 //Check if it is allowed to reset Status: done in Messungform
182 // TODO additional requirements?
183 if (this.record.get('statusEdit') === true) {
184 this.enableStatusReset();
185 }
186 else {
187 this.disableStatusReset();
188 }
189 }, 182 },
190 scope: this 183 scope: this
191 }); 184 });
192 }, 185 },
193 186

http://lada.wald.intevation.org