summaryrefslogtreecommitdiff
path: root/javascript/functions.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-27 18:27:53 +0100
committerAlib <aliboba@free.fr>2010-02-27 18:27:53 +0100
commit2429b586aeeb9d7eb7e77bdd932ce76e364bc8c5 (patch)
treecc0f580c7bce58923bf62cf03d8bd934566dce5f /javascript/functions.js
parent3497a84b220e1419e3642faa763fb2b5965675b0 (diff)
downloadistreamdev-2429b586aeeb9d7eb7e77bdd932ce76e364bc8c5.tar.gz
istreamdev-2429b586aeeb9d7eb7e77bdd932ce76e364bc8c5.tar.bz2
new error handling
Diffstat (limited to 'javascript/functions.js')
-rwxr-xr-xjavascript/functions.js5
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;
+}
+