You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/01/08 20:30:50 UTC

[45/50] [abbrv] allura git commit: [#7919] quote jquery attr lookup so it doesn't error on mount points with special chars in thir name (like repos can have)

[#7919] quote jquery attr lookup so it doesn't error on mount points with special chars in thir name (like repos can have)


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

Branch: refs/heads/master
Commit: 363ba77ff4303772a68f24e95ce458ab0207f634
Parents: e445f14
Author: Dave Brondsema <da...@brondsema.net>
Authored: Fri Dec 18 15:38:23 2015 -0500
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Fri Jan 8 14:06:19 2016 -0500

----------------------------------------------------------------------
 Allura/allura/public/nf/js/navbar.es6.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/363ba77f/Allura/allura/public/nf/js/navbar.es6.js
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/js/navbar.es6.js b/Allura/allura/public/nf/js/navbar.es6.js
index 7af5489..ed8aa6d 100644
--- a/Allura/allura/public/nf/js/navbar.es6.js
+++ b/Allura/allura/public/nf/js/navbar.es6.js
@@ -513,7 +513,7 @@ var Main = React.createClass({
         // because that means you re-render the HTML while the drag is happening
         // and the actual dragging doesn't work any more
         var dragging_mount_point = obj.props.children.props.mount_point;
-        $(`[data-mount-point=${dragging_mount_point}]`).closest('.react-drag').addClass('dragging');
+        $(`[data-mount-point="${dragging_mount_point}"]`).closest('.react-drag').addClass('dragging');
     },
 
     render: function() {