diff --git a/src/mibew/js/source/default/model_views/message.js b/src/mibew/js/source/default/model_views/message.js index 7f099085..30f4e18e 100644 --- a/src/mibew/js/source/default/model_views/message.js +++ b/src/mibew/js/source/default/model_views/message.js @@ -75,10 +75,10 @@ return "hidden"; } if (kind == this.model.KIND_INFO) { - return "inf"; + return "info"; } if (kind == this.model.KIND_CONN) { - return "conn"; + return "connection"; } if (kind == this.model.KIND_EVENTS) { return "event"; diff --git a/src/mibew/js/source/soundcheck.js b/src/mibew/js/source/soundcheck.js index eaa0456c..01d85518 100644 --- a/src/mibew/js/source/soundcheck.js +++ b/src/mibew/js/source/soundcheck.js @@ -18,11 +18,11 @@ (function(Mibew, $) { $(document).ready(function() { - $('#check-nv').click(function(){ + $('#check-new-visitor').click(function(){ Mibew.Utils.playSound('../sounds/new_user'); }); - $('#check-nm').click(function() { + $('#check-new-message').click(function() { Mibew.Utils.playSound('../sounds/new_message'); }); }); diff --git a/src/mibew/js/source/users/collection_views/threads_collection.js b/src/mibew/js/source/users/collection_views/threads_collection.js index 6cc9680c..59827fa1 100644 --- a/src/mibew/js/source/users/collection_views/threads_collection.js +++ b/src/mibew/js/source/users/collection_views/threads_collection.js @@ -120,7 +120,7 @@ } // Create new style name - var style = ((queueCode != this.QUEUE_BAN)?'in':'') + var style = ((queueCode != this.QUEUE_BAN)?'in-':'') + this.queueCodeToString(queueCode); // Store new styles @@ -216,16 +216,16 @@ */ queueCodeToString: function(code) { if (code == this.QUEUE_PRIO) { - return "prio"; + return "priority-queue"; } if (code == this.QUEUE_WAITING) { - return "wait"; + return "waiting"; } if (code == this.QUEUE_CHATTING) { return "chat"; } if (code == this.QUEUE_BAN) { - return "ban"; + return "banned"; } if (code == this.QUEUE_CLOSED) { return "closed"; diff --git a/src/mibew/js/source/widget.js b/src/mibew/js/source/widget.js index 47af18b2..79f1619f 100644 --- a/src/mibew/js/source/widget.js +++ b/src/mibew/js/source/widget.js @@ -391,8 +391,8 @@ var Mibew = {}; var threadUrl = options.threadUrl; var acceptCaption = options.acceptCaption; - var popuptext = '