[vhffs-dev] [2070] Use newly created vhffs.Common.theme to get theme.

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 2070
Author:   beuss
Date:     2012-02-26 17:34:55 +0100 (Sun, 26 Feb 2012)
Log Message:
-----------
Use newly created vhffs.Common.theme to get theme.

Modified Paths:
--------------
    trunk/vhffs-panel/js/vhffs/anonymous/subscribe.js

Modified: trunk/vhffs-panel/js/vhffs/anonymous/subscribe.js
===================================================================
--- trunk/vhffs-panel/js/vhffs/anonymous/subscribe.js	2012-02-26 16:34:48 UTC (rev 2069)
+++ trunk/vhffs-panel/js/vhffs/anonymous/subscribe.js	2012-02-26 16:34:55 UTC (rev 2070)
@@ -2,12 +2,11 @@
     dojo.require("dojo.parser");
     dojo.require("dijit.form.Form");
     dojo.require("dijit.form.ValidationTextBox");
+    dojo.require("vhffs.Common");
 
-    var metatheme = $("meta[name=theme]");
-
     dojo.requireLocalization("vhffs", "prompt");
     var prompts = dojo.i18n.getLocalization("vhffs", "prompt");
-    var infoImg = '<img src="/themes/'+metatheme.attr("content")+'/img/info.png" alt="info"/> ';
+    var infoImg = '<img src="/themes/' + vhffs.Common.theme + '/img/info.png" alt="info"/> ';
 
     dojo.parser.instantiate( dojo.query("input.validation-identifier"), {
         dojoType: "dijit.form.ValidationTextBox",


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/