diff options
author | AlexKlimenkov <shurick.klimenkov@gmail.com> | 2014-11-12 12:31:30 +0300 |
---|---|---|
committer | AlexKlimenkov <shurick.klimenkov@gmail.com> | 2014-11-12 12:31:30 +0300 |
commit | b43931167c3a3229c89608fe0cac8cc6f28db9d5 (patch) | |
tree | a21af26a5b6fb026be2210d20263ae820337f99e /codebase/sources/ext/dhtmlxscheduler_multiselect.js | |
parent | 18d5b85296811c84235763e3b39eb6f7715e8d19 (diff) | |
download | scheduler-b43931167c3a3229c89608fe0cac8cc6f28db9d5.zip scheduler-b43931167c3a3229c89608fe0cac8cc6f28db9d5.tar.gz scheduler-b43931167c3a3229c89608fe0cac8cc6f28db9d5.tar.bz2 |
[update] version 4.2.0
Diffstat (limited to 'codebase/sources/ext/dhtmlxscheduler_multiselect.js')
-rw-r--r-- | codebase/sources/ext/dhtmlxscheduler_multiselect.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/codebase/sources/ext/dhtmlxscheduler_multiselect.js b/codebase/sources/ext/dhtmlxscheduler_multiselect.js index c797198..716c369 100644 --- a/codebase/sources/ext/dhtmlxscheduler_multiselect.js +++ b/codebase/sources/ext/dhtmlxscheduler_multiselect.js @@ -1,5 +1,5 @@ /* -dhtmlxScheduler v.4.1.0 Stardard +dhtmlxScheduler v.4.2.0 Stardard This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. @@ -22,14 +22,14 @@ scheduler.form_blocks["multiselect"]={ _children[i].checked = false; //unchecking all inputs on the form } - function _mark_inputs(ids) { // ids = [ 0: undefined, 1: undefined, 2: true ... ] + function _mark_inputs(ids) { // ids = [ 0: undefined, 1: undefined, 2: true, 'custom_name': false ... ] var _children = node.getElementsByTagName('input'); for(var i=0;i<_children.length; i++) { _children[i].checked = !! ids[_children[i].value]; } } - var _ids = []; + var _ids = {}; if (ev[config.map_to]) { var results = (ev[config.map_to] + "").split(','); for (var i = 0; i < results.length; i++) { @@ -45,7 +45,7 @@ scheduler.form_blocks["multiselect"]={ node.appendChild(divLoading); dhtmlxAjax.get(config.script_url + '?dhx_crosslink_' + config.map_to + '=' + ev.id + '&uid=' + scheduler.uid(), function(loader) { var _result = loader.doXPath("//data/item"); - var _ids = []; + var _ids = {}; for (var i = 0; i < _result.length; i++) { _ids[_result[i].getAttribute(config.map_to)] = true; } |