add method successMsg()

This commit is contained in:
Uwe Steinmann 2019-10-18 12:21:40 +02:00
parent 1144ee4500
commit a53cd4b0cd

View File

@ -1524,6 +1524,12 @@ $(document).ready(function() {
echo "</div>\n";
} /* }}} */
function successMsg($msg) { /* {{{ */
echo "<div class=\"alert alert-success\">\n";
echo $msg;
echo "</div>\n";
} /* }}} */
function ___exitError($pagetitle, $error, $noexit=false, $plain=false) { /* {{{ */
/* This is just a hack to prevent creation of js files in an error