Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\js\edeal\views\checkBox.js
Views.CheckBox = Views.Base.extend({ classType: "Views.CheckBox", tagName: "div", //return a Model.Value getModelValueFromInput: function(aString) { var aModelValue = this.model; var newValue = ""; var aStringWasSuppressed = false; if (aModelValue.get("value") != "") { var oldArray = aModelValue.get("value").split(":|:"); for (var i=0;i<oldArray.length;i++) { if (oldArray[i] == aString) { aStringWasSuppressed = true; } else { if (newValue != "") newValue = newValue + ":|:"; newValue = newValue + oldArray[i]; } } } if (aStringWasSuppressed == false) { if (newValue != "") newValue = newValue + ":|:"; newValue = newValue + aString; } aModelValue.set("value", newValue); return aModelValue; } }); Views.CheckBoxList = Views.BaseList.extend({ classType: "Views.CheckBoxList" });
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de