Works on enhancement of "ok","warning" or "error" message with jQuery jnotify
This commit is contained in:
parent
d3dc8e3d58
commit
e55cec9e4e
@ -360,7 +360,7 @@ foreach ($conf->file->dol_document_root as $dirroot)
|
|||||||
|
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
if (! empty($module->error)) dol_htmloutput_errors($module->error,'',$conf->global->MAIN_USE_JQUERY_JNOTIFY);
|
if (! empty($module->error)) dol_htmloutput_errors($module->error,'');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3441,7 +3441,7 @@ function dol_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok')
|
|||||||
$out.= $langs->trans($mesgstring);
|
$out.= $langs->trans($mesgstring);
|
||||||
if (! $conf->global->MAIN_USE_JQUERY_JNOTIFY) $out.= '</div>';
|
if (! $conf->global->MAIN_USE_JQUERY_JNOTIFY) $out.= '</div>';
|
||||||
}
|
}
|
||||||
if ($conf->global->MAIN_USE_JQUERY_JNOTIFY)
|
if ($conf->global->MAIN_USE_JQUERY_JNOTIFY && ! empty($out))
|
||||||
{
|
{
|
||||||
print '<script type="text/javascript">
|
print '<script type="text/javascript">
|
||||||
jQuery(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user