|
@@ -125,8 +125,15 @@ function getPageInfo(id) {
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
function changePage(url) {
|
|
function changePage(url) {
|
|
|
if (typeof(url) != "undefined") {
|
|
if (typeof(url) != "undefined") {
|
|
|
|
|
+ CURRENT_PAGE_URL=url;
|
|
|
$("#main_content").load(base_ui_url + url);
|
|
$("#main_content").load(base_ui_url + url);
|
|
|
|
|
+
|
|
|
|
|
+ event = document.createEvent('MessageEvent');
|
|
|
|
|
+ var origin = window.location.protocol + '//' + window.location.host;
|
|
|
|
|
+ event.initMessageEvent ('changepage', true, true, CURRENT_PAGE_URL, origin, 1234, window, null);
|
|
|
|
|
+ document.dispatchEvent (event);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|