Mercurial > lada > lada-client
diff 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 |
line wrap: on
line diff
--- a/app/view/window/MessungEdit.js Fri Jan 08 14:34:27 2016 +0100 +++ b/app/view/window/MessungEdit.js Fri Jan 08 14:43:41 2016 +0100 @@ -178,14 +178,7 @@ else { this.disableStatusEdit(); } - //Check if it is allowed to reset Status - // TODO additional requirements? - if (this.record.get('statusEdit') === true) { - this.enableStatusReset(); - } - else { - this.disableStatusReset(); - } + //Check if it is allowed to reset Status: done in Messungform }, scope: this });