Explorar o código

Added error_icon.png and spinner.gif images

Added error_icon.png and spinner.gif images to not make it dependent of
Plone resources.
Alexandru Ghica %!s(int64=12) %!d(string=hai) anos
pai
achega
0f9c088c41
Modificáronse 4 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      converse.css
  2. 1 1
      converse.js
  3. BIN=BIN
      images/error_icon.png
  4. BIN=BIN
      images/spinner.gif

+ 1 - 1
converse.css

@@ -30,7 +30,7 @@
 }
 }
 
 
 #connecting-to-chat {
 #connecting-to-chat {
-    background: url('/spinner.gif') no-repeat;
+    background: url(images/spinner.gif) no-repeat left;
     padding-left: 1.4em;
     padding-left: 1.4em;
 }
 }
 
 

+ 1 - 1
converse.js

@@ -1818,7 +1818,7 @@
             $toggle.hide();
             $toggle.hide();
             $connecting.show();
             $connecting.show();
             $connecting.html('Unable to communicate with chat server');
             $connecting.html('Unable to communicate with chat server');
-            $connecting.css('background-image', "url('/error_icon.png')");
+            $connecting.css('background-image', "url(images/error_icon.png)");
             console.log("Connection Failed :(");
             console.log("Connection Failed :(");
         }, this));
         }, this));
 
 

BIN=BIN
images/error_icon.png


BIN=BIN
images/spinner.gif