|
|
|
@ -39790,7 +39790,7 @@ BI.Searcher = BI.inherit(BI.Widget, {
|
|
|
|
|
} |
|
|
|
|
if (o.masker && !BI.Maskers.has(this.getName())) { |
|
|
|
|
BI.Maskers.create(this.getName(), o.adapter, BI.extend({ |
|
|
|
|
container: o.container || this, |
|
|
|
|
container: this, |
|
|
|
|
render: this.popupView |
|
|
|
|
}, o.masker), this); |
|
|
|
|
} |
|
|
|
@ -39977,8 +39977,7 @@ BI.Searcher.EVENT_PAUSE = "EVENT_PAUSE";
|
|
|
|
|
BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING"; |
|
|
|
|
BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; |
|
|
|
|
|
|
|
|
|
BI.shortcut("bi.searcher", BI.Searcher); |
|
|
|
|
/** |
|
|
|
|
BI.shortcut("bi.searcher", BI.Searcher);/** |
|
|
|
|
* |
|
|
|
|
* 切换显示或隐藏面板 |
|
|
|
|
* |
|
|
|
@ -44560,15 +44559,15 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
for (var |
|
|
|
|
xhr = new XMLHttpRequest, |
|
|
|
|
upload = xhr.upload || { |
|
|
|
|
addEventListener: function (event, callback) { |
|
|
|
|
this["on" + event] = callback; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
i = 0; |
|
|
|
|
i < length; |
|
|
|
|
i++ |
|
|
|
|
xhr = new XMLHttpRequest, |
|
|
|
|
upload = xhr.upload || { |
|
|
|
|
addEventListener: function (event, callback) { |
|
|
|
|
this["on" + event] = callback; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
i = 0; |
|
|
|
|
i < length; |
|
|
|
|
i++ |
|
|
|
|
) { |
|
|
|
|
upload.addEventListener( |
|
|
|
|
split[i].substring(2), |
|
|
|
@ -44623,7 +44622,9 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
|
|
|
|
|
switch (xhr.readyState) { |
|
|
|
|
case 2: |
|
|
|
|
case 3: |
|
|
|
|
if (rpe.total <= rpe.loaded) {rpe.loaded = rpe.total;} |
|
|
|
|
if (rpe.total <= rpe.loaded) { |
|
|
|
|
rpe.loaded = rpe.total; |
|
|
|
|
} |
|
|
|
|
upload.onprogress(rpe); |
|
|
|
|
break; |
|
|
|
|
case 4: |
|
|
|
@ -44689,8 +44690,12 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
|
|
|
|
|
var url = handler.url.concat(-1 === handler.url.indexOf("?") ? "?" : "&", "AjaxUploadFrame=true"), |
|
|
|
|
rpe = { |
|
|
|
|
loaded: 1, total: 100, simulation: true, interval: setInterval(function () { |
|
|
|
|
if (rpe.loaded < rpe.total) {++rpe.loaded;} |
|
|
|
|
if (isFunction(handler.onprogress)) {handler.onprogress(rpe, {});} |
|
|
|
|
if (rpe.loaded < rpe.total) { |
|
|
|
|
++rpe.loaded; |
|
|
|
|
} |
|
|
|
|
if (isFunction(handler.onprogress)) { |
|
|
|
|
handler.onprogress(rpe, {}); |
|
|
|
|
} |
|
|
|
|
}, 100) |
|
|
|
|
}, |
|
|
|
|
onload = function () { |
|
|
|
@ -44714,9 +44719,13 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
|
|
|
|
|
handler.attach_array.push(attachO); |
|
|
|
|
} |
|
|
|
|
} catch (e) { |
|
|
|
|
if (isFunction(handler.onerror)) {handler.onerror(rpe, event || _global.event);} |
|
|
|
|
if (isFunction(handler.onerror)) { |
|
|
|
|
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("_"); |
|
|
|
|
try { // IE < 8 does not accept enctype attribute ...
|
|
|
|
|