diff options
author | Alib <aliboba@free.fr> | 2010-02-27 18:27:53 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-02-27 18:27:53 +0100 |
commit | 2429b586aeeb9d7eb7e77bdd932ce76e364bc8c5 (patch) | |
tree | cc0f580c7bce58923bf62cf03d8bd934566dce5f /javascript/functions.js | |
parent | 3497a84b220e1419e3642faa763fb2b5965675b0 (diff) | |
download | istreamdev-2429b586aeeb9d7eb7e77bdd932ce76e364bc8c5.tar.gz istreamdev-2429b586aeeb9d7eb7e77bdd932ce76e364bc8c5.tar.bz2 |
new error handling
Diffstat (limited to 'javascript/functions.js')
-rwxr-xr-x | javascript/functions.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/javascript/functions.js b/javascript/functions.js index b713232..86811ff 100755 --- a/javascript/functions.js +++ b/javascript/functions.js @@ -206,3 +206,8 @@ function addplayer(path,name,track) { document.getElementById('div_player').innerHTML = playercode;
}
+function errorMsg(errmessage) {
+ htmlmsg="<span class='graytitle'>Error</span><ul class='pageitem'><li class='textbox'><span class='header'>Error</span><p><strong>" + errmessage + "</strong></li></ul>";
+ document.getElementById('content').innerHTML = htmlmsg;
+}
+
|