From: Edward Date: Fri, 7 Mar 2014 09:50:28 +0000 (+0800) Subject: roojs-ui.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=5f9e89209bc71c037b0287940c479beea9b27f46;p=roojs1 roojs-ui.js roojs-ui-debug.js --- diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 9e193d1895..71fef47f98 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -24200,6 +24200,31 @@ Roo.extend(Roo.form.ComboBoxArray.Item, Roo.BoxComponent, { this.el.child('img').un('click', this.remove, this); this.el.remove(); this.cb.updateHiddenEl(); + }, + + /*@ + * overide + * + */ + isDirty : function() { + if(this.disabled) { + return false; + } + + try { + var d = Roo.decode(String(this.originalValue)); + } catch (e) { + return String(this.getValue()) !== String(this.originalValue); + } + + var originalValue = []; + + for (var i = 0; i < d.length; i++){ + originalValue.push(d[i][this.valueField]); + } + + return String(this.getValue()) !== String(originalValue.join(',')); + } });/* @@ -39404,446 +39429,4 @@ Roo.extend(Roo.grid.PropertyGrid, Roo.grid.EditorGrid, { getSource : function(){ return this.store.getSource(); } -});/* - * Based on: - * Ext JS Library 1.1.1 - * Copyright(c) 2006-2007, Ext JS, LLC. - * - * Originally Released Under LGPL - original licence link has changed is not relivant. - * - * Fork - LGPL - *