Add version files and new GIF images for UI components
This commit is contained in:
41
themes/sources/dhtmlxForm/codebase/dhtmlxform_deprecated.js
Normal file
41
themes/sources/dhtmlxForm/codebase/dhtmlxform_deprecated.js
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
Product Name: dhtmlxSuite
|
||||
Version: 5.2.0
|
||||
Edition: Professional
|
||||
License: content of this file is covered by DHTMLX Commercial or Enterprise license. Usage without proper license is prohibited. To obtain it contact sales@dhtmlx.com
|
||||
Copyright UAB Dinamenta http://www.dhtmlx.com
|
||||
*/
|
||||
|
||||
dhtmlXForm.prototype.getItemsList = function() {
|
||||
// returns array of item names (without doubling)
|
||||
// deprecated from 3.6.2
|
||||
var list = [];
|
||||
var exist = [];
|
||||
for (var a in this.itemPull) {
|
||||
var id = null;
|
||||
if (this.itemPull[a]._group) {
|
||||
id = this.itemPull[a]._group;
|
||||
} else {
|
||||
id = a.replace(this.idPrefix, "");
|
||||
}
|
||||
if (exist[id] != true)
|
||||
list.push(id);
|
||||
exist[id] = true;
|
||||
}
|
||||
return list;
|
||||
};
|
||||
|
||||
dhtmlXForm.prototype.setItemText = function() {
|
||||
// deprecated from 3.6.2
|
||||
this.setItemLabel.apply(this, arguments);
|
||||
};
|
||||
|
||||
dhtmlXForm.prototype.getItemText = function() {
|
||||
// deprecated from 3.6.2
|
||||
return this.getItemLabel.apply(this, arguments);
|
||||
};
|
||||
|
||||
dhtmlXForm.prototype.loadStructString = function(xmlString, onLoad) {
|
||||
this.loadStruct(xmlString, onLoad);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user