allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [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)
Date Fri, 08 Jan 2016 19:30:50 GMT
[#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 <dave@brondsema.net>
Authored: Fri Dec 18 15:38:23 2015 -0500
Committer: Dave Brondsema <dave@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() {


Mime
View raw message