You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2014/01/16 17:03:29 UTC

[2/4] git commit: [#7002] Fixed notifications not working in base theme

[#7002] Fixed notifications not working in base theme

Signed-off-by: Cory Johns <cj...@slashdotmedia.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/054a6b4a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/054a6b4a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/054a6b4a

Branch: refs/heads/cj/7002
Commit: 054a6b4a8715ec569a9956b9321b6e18863da985
Parents: 2d45976
Author: Cory Johns <cj...@slashdotmedia.com>
Authored: Wed Jan 15 20:39:10 2014 +0000
Committer: Cory Johns <cj...@slashdotmedia.com>
Committed: Thu Jan 16 15:52:08 2014 +0000

----------------------------------------------------------------------
 Allura/allura/public/nf/js/allura-base.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/054a6b4a/Allura/allura/public/nf/js/allura-base.js
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/js/allura-base.js b/Allura/allura/public/nf/js/allura-base.js
index e6e205e..ec32bf6 100644
--- a/Allura/allura/public/nf/js/allura-base.js
+++ b/Allura/allura/public/nf/js/allura-base.js
@@ -178,6 +178,8 @@ function addCommas(num) {
 }
 
 $(function(){
+    $('html').removeClass('no-js').addClass('js');
+
     // Add notifications for form submission.
     attach_form_retry('form.can-retry');