|
|
@ -44622,9 +44622,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/** |
|
|
|
switch (xhr.readyState) { |
|
|
|
switch (xhr.readyState) { |
|
|
|
case 2: |
|
|
|
case 2: |
|
|
|
case 3: |
|
|
|
case 3: |
|
|
|
if (rpe.total <= rpe.loaded) { |
|
|
|
if (rpe.total <= rpe.loaded) {rpe.loaded = rpe.total;} |
|
|
|
rpe.loaded = rpe.total; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
upload.onprogress(rpe); |
|
|
|
upload.onprogress(rpe); |
|
|
|
break; |
|
|
|
break; |
|
|
|
case 4: |
|
|
|
case 4: |
|
|
@ -44690,12 +44688,8 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/** |
|
|
|
var url = handler.url.concat(-1 === handler.url.indexOf("?") ? "?" : "&", "AjaxUploadFrame=true"), |
|
|
|
var url = handler.url.concat(-1 === handler.url.indexOf("?") ? "?" : "&", "AjaxUploadFrame=true"), |
|
|
|
rpe = { |
|
|
|
rpe = { |
|
|
|
loaded: 1, total: 100, simulation: true, interval: setInterval(function () { |
|
|
|
loaded: 1, total: 100, simulation: true, interval: setInterval(function () { |
|
|
|
if (rpe.loaded < rpe.total) { |
|
|
|
if (rpe.loaded < rpe.total) {++rpe.loaded;} |
|
|
|
++rpe.loaded; |
|
|
|
if (isFunction(handler.onprogress)) {handler.onprogress(rpe, {});} |
|
|
|
} |
|
|
|
|
|
|
|
if (isFunction(handler.onprogress)) { |
|
|
|
|
|
|
|
handler.onprogress(rpe, {}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, 100) |
|
|
|
}, 100) |
|
|
|
}, |
|
|
|
}, |
|
|
|
onload = function () { |
|
|
|
onload = function () { |
|
|
@ -44719,13 +44713,9 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/** |
|
|
|
handler.attach_array.push(attachO); |
|
|
|
handler.attach_array.push(attachO); |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
if (isFunction(handler.onerror)) { |
|
|
|
if (isFunction(handler.onerror)) {handler.onerror(rpe, event || _global.event);} |
|
|
|
handler.onerror(rpe, event || _global.event); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (isFunction(handler.onload)) { |
|
|
|
|
|
|
|
handler.onload(rpe, {responseText: responseText}); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (isFunction(handler.onload)) {handler.onload(rpe, {responseText: responseText});} |
|
|
|
}, |
|
|
|
}, |
|
|
|
target = ["AjaxUpload", (new Date).getTime(), String(Math.random()).substring(2)].join("_"); |
|
|
|
target = ["AjaxUpload", (new Date).getTime(), String(Math.random()).substring(2)].join("_"); |
|
|
|
try { // IE < 8 does not accept enctype attribute ...
|
|
|
|
try { // IE < 8 does not accept enctype attribute ...
|
|
|
@ -74317,7 +74307,8 @@ BI.SingleSelectSearchLoader = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
_createItems: function (items) { |
|
|
|
_createItems: function (items) { |
|
|
|
return BI.createItems(items, { |
|
|
|
return BI.createItems(items, { |
|
|
|
type: "bi.single_select_item", |
|
|
|
type: "bi.single_select_combo.item", |
|
|
|
|
|
|
|
cls: "bi-list-item-active", |
|
|
|
logic: { |
|
|
|
logic: { |
|
|
|
dynamic: false |
|
|
|
dynamic: false |
|
|
|
}, |
|
|
|
}, |
|
|
@ -75691,7 +75682,7 @@ BI.SingleSelectInsertList = BI.inherit(BI.Single, { |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
el: this.searcherPane, |
|
|
|
el: this.searcherPane, |
|
|
|
top: 30, |
|
|
|
top: 24, |
|
|
|
bottom: 0, |
|
|
|
bottom: 0, |
|
|
|
left: 0, |
|
|
|
left: 0, |
|
|
|
right: 0 |
|
|
|
right: 0 |
|
|
|