partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit efc93b8c654aa18d0447403e38219f14e1740629
parent 5ac56e2f9d8a99a45d95f48379726a504deb0f2d
Author: Felicitus <felicitus@felicitus.org>
Date:   Sat, 10 Oct 2015 19:16:28 +0200

Removed broken dirty display, opened issue #439 to reflect the todo

Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Components/Editor/Editor.js | 12------------
1 file changed, 0 insertions(+), 12 deletions(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Editor/Editor.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Editor/Editor.js @@ -21,11 +21,6 @@ Ext.define('PartKeepr.Editor', { // If true, always syncs the record via it's own proxy. syncDirect: false, - listeners: { - dirtychange: "onDirtyChange", - scope: "this" - }, - initComponent: function () { if (this.enableButtons) { @@ -57,13 +52,6 @@ Ext.define('PartKeepr.Editor', { this.callParent(); }, - onDirtyChange: function (form, dirty) { - if (dirty) { - this.setTitle(this.record.get(this.titleProperty) + "*"); - } else { - this.setTitle(this.record.get(this.titleProperty)); - } - }, onCancelEdit: function () { this.fireEvent("editorClose", this);