Enhancement: provide a warning (popup) message when navigating away from an edition form.

SVN:trunk[1479]
This commit is contained in:
Denis Flaven
2011-08-19 15:50:17 +00:00
parent de516c0ce4
commit e2aa3cc69f
5 changed files with 21 additions and 6 deletions

View File

@@ -360,6 +360,7 @@ EOF
function BackToDetails(sClass, id, sDefaultUrl)
{
window.bInCancel = true;
if (id > 0)
{
window.location.href = AddAppContext(GetAbsoluteUrlAppRoot()+'pages/UI.php?operation=details&class='+sClass+'&id='+id);
@@ -375,7 +376,7 @@ EOF
{
window.location.href = AddAppContext(GetAbsoluteUrlAppRoot()+'pages/UI.php?operation=search_oql&oql_class='+sClass+'&oql_clause=WHERE id=0');
}
function ShowDebug()
{
if ($('#rawOutput > div').html() != '')