new egw_framework::message($msg, $msg_type="success") method and fixing nextmatch filter-change to return app-header

This commit is contained in:
Ralf Becker
2013-09-05 11:53:25 +00:00
parent b1aca92a9e
commit 1590d02816
6 changed files with 81 additions and 25 deletions

View File

@ -158,6 +158,16 @@
et2.load(data.name,data.url,data.data,callback);
}
}
// set app-header
if (window.framework && (data = egw_script.getAttribute('data-app-header')))
{
window.egw_app_header(data);
}
// display a message
if ((data = egw_script.getAttribute('data-message')) && (data = JSON.parse(data)))
{
window.egw_message.apply(window, data);
}
});
/**