Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/admin_templates/js/template_manager.js
Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Line(s) | |||||
$template_manager.revisionToolbarClick($button_name); | $template_manager.revisionToolbarClick($button_name); | ||||
} | } | ||||
); | ); | ||||
setInterval( | setInterval( | ||||
function () { | function () { | ||||
$.getJSON( | $.getJSON( | ||||
$('#kf_revisions_' + $template_manager.pageId).attr('action') + '&events[page-revision]=OnGetInfo', | $('#kf_revisions_' + $template_manager.pageId).attr('action').replace('-d-', '-s-') + '&events[page-revision]=OnGetInfo', | ||||
function ($data) { | function ($data) { | ||||
$template_manager.pageInfo = $data; | $template_manager.pageInfo = $data; | ||||
$template_manager.processPageInfo(); | $template_manager.processPageInfo(); | ||||
} | } | ||||
); | ); | ||||
}, 20 * 1000 // 20 seconds | }, 20 * 1000 // 20 seconds | ||||
); | ); | ||||
▲ Show 20 Lines • Show All 401 Lines • ▼ Show 20 Line(s) | |||||
.mouseout( | .mouseout( | ||||
function(ev) { | function(ev) { | ||||
TemplateManager.prototype.onMouseOut.call(aTemplateManager, ev, this); | TemplateManager.prototype.onMouseOut.call(aTemplateManager, ev, this); | ||||
} | } | ||||
); | ); | ||||
} | } | ||||
this._blockOrder.push($element.id); | this._blockOrder.push($element.id); | ||||
} | } | ||||
No newline at end of file |