allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [1/2] allura git commit: [#8010] ticket:885 Cleanup js which used .title-pane
Date Wed, 06 Jan 2016 15:12:43 GMT
Repository: allura
Updated Branches:
  refs/heads/master 996d82b12 -> 19c532faa


[#8010] ticket:885 Cleanup js which used .title-pane


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

Branch: refs/heads/master
Commit: 19c532faa724ac684e18dd88c51deac8d11e0863
Parents: 904ca25
Author: Denis Kotov <deniskkotov@gmail.com>
Authored: Wed Jan 6 00:02:30 2016 +0200
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Wed Jan 6 10:12:16 2016 -0500

----------------------------------------------------------------------
 Allura/allura/public/nf/js/allura-base.js | 24 ------------------------
 1 file changed, 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/19c532fa/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 573448d..52d6cb5 100644
--- a/Allura/allura/public/nf/js/allura-base.js
+++ b/Allura/allura/public/nf/js/allura-base.js
@@ -18,30 +18,6 @@
 */
 
 (function($) {
-    // Setup title-pane widgets
-    $('.title-pane .title').click(function(e) {
-        e.preventDefault();
-        $(this).closest('.title-pane')
-            .find('> .content').toggle('fast', function() {
-                $(this)
-                    .closest('.title-pane').toggleClass('closed').end()
-                    .toggleClass('hidden');
-            });
-    });
-    if(window.location.hash) {
-        // Nested comment (reply) hash link contains a /, which must be escaped
-        var splited_link = window.location.hash.split('/'),
-            united_link = "";
-        for (var i = 0; i < splited_link.length; i++) {
-            if (i == 0) {
-                united_link += splited_link[i];
-            } else {
-                united_link += "\\/" + splited_link[i];
-            }
-        }
-        $(united_link + '.title-pane').removeClass('closed');
-    }
-
     // Setup editable widgets
     $('div.editable, span.editable, h1.editable')
         .find('.viewer')


Mime
View raw message