2010-07-07 11:30:04 +07:00
|
|
|
function ad_deferRenderBorderLayout(uuid, timeout) {
|
2012-02-29 20:38:49 +07:00
|
|
|
var meta = zk.Widget.$(uuid);
|
2010-07-07 11:30:04 +07:00
|
|
|
if (meta) {
|
|
|
|
setTimeout("_ad_deferBDL('"+uuid+"')", timeout);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function _ad_deferBDL(uuid) {
|
2012-03-05 11:52:25 +07:00
|
|
|
var cmp = zk.Widget.$(uuid);
|
|
|
|
if (cmp) { cmp.resize(); }
|
2010-07-07 11:30:04 +07:00
|
|
|
}
|
|
|
|
|
2012-08-22 16:45:31 +07:00
|
|
|
function _ad_closeBuble(link) {
|
|
|
|
var parent = link.parentsUntil("simileAjax-bubble-contentContainer");
|
|
|
|
var btn = parent.next();
|
|
|
|
btn.click();
|
2010-07-07 11:30:04 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
function scrollToRow(uuid){
|
2012-02-29 20:38:49 +07:00
|
|
|
var cmp = zk.Widget.$(uuid);
|
2012-03-05 11:52:25 +07:00
|
|
|
if (cmp) {
|
|
|
|
cmp.scrollIntoView();
|
|
|
|
cmp.focus();
|
|
|
|
}
|
2010-07-07 11:30:04 +07:00
|
|
|
}
|