[js] fix misplaced bracket
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 08 Jul 2010 12:54:14 +0200
changeset 5936 98ac4000e820
parent 5935 348cf2a14cc1
child 5937 82cac9383dd8
[js] fix misplaced bracket
web/data/cubicweb.edition.js
--- a/web/data/cubicweb.edition.js	Thu Jul 08 12:43:39 2010 +0200
+++ b/web/data/cubicweb.edition.js	Thu Jul 08 12:54:14 2010 +0200
@@ -272,7 +272,7 @@
 
 function selectForAssociation(tripletIdsString, originalEid) {
     var tripletlist = $.map(tripletIdsString.split('-'),
-			    function(x) { return [x.split(':');}]);
+			    function(x) { return [x.split(':')] ;});
     var d = loadRemote('json', ajaxFuncArgs('add_pending_inserts', null, tripletlist));
     d.addCallback(function() {
         var args = {