Lines Matching refs:section

13645 	gantt._resolve_default_mapping = function (section) {  argument
13646 var mapping = section.map_to;
13648 if (time_controls[section.type]) {
13649 if (section.map_to == "auto") {
13651 } else if (typeof (section.map_to) === "string") {
13652 mapping = { start_date: section.map_to };
13654 } else if (section.type === "constraint") {
13655 if (!section.map_to || typeof (section.map_to) === "string") {
13735 var section = sns[i];
13737 if (!this.form_blocks[section.type]) {
13742 var node = document.getElementById(section.id).nextSibling;
13743 var block = this.form_blocks[section.type];
13745 var value = this.defined(task[map_to]) ? task[map_to] : section.default_value;
13746 block.set_value.call(gantt, node, value, task, section);
13748 if (section.focus)
13766 var section = config[i];
13767 if (!section)
13772 var header = document.getElementById(section.id);
13776 section: section, property in gantt.getLightboxSection.result
13780 return gantt.form_blocks[section.type].get_value.call(gantt, node, (ev || {}), section);
13783 return gantt.form_blocks[section.type].set_value.call(gantt, node, value, (ev || {}), section);
13787 var handler = this._lightbox_methods["get_" + section.type + "_control"];
14014 var section;
14022 section = sns[i];
14023 labelBlock = document.getElementById(section.id);
14025 if (!section.id || !labelBlock) continue;
14035 section.inputId = input.id;
14036 label.setAttribute("for", section.inputId);
14165 set_value: function (node, value, task, section) { argument
14166 var mapping = gantt._resolve_default_mapping(section);
14168 optional_time.disable(node, section);
14176 return duration.set_value.call(gantt, node, value, val, section);//set default value
14178 optional_time.enable(node, section);
14179 return duration.set_value.call(gantt, node, value, task, section);
14182 get_value: function (node, task, section) { argument
14183 if (section.disabled) {
14186 return duration.get_value.call(gantt, node, task, section);
14189 update_block: function (node, section) { argument
14190 gantt.callEvent("onSectionToggle", [gantt._lightbox_id, section]);
14191 node.style.display = section.disabled ? "none" : "block";
14193 if (section.button) {
14197 …var button_text = section.disabled ? labels[section.name + "_enable_button"] : labels[section.name…
14203 disable: function (node, section) { argument
14204 section.disabled = true;
14205 optional_time.update_block(node, section);
14208 enable: function (node, section) { argument
14209 section.disabled = false;
14210 optional_time.update_block(node, section);
14212 button_click: function (index, el, section, container) { argument
14213 if (gantt.callEvent("onSectionButton", [gantt._lightbox_id, section]) === false) {
27225 lightboxDurationInputAttrString: function(section){ argument