aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Etienne2013-01-14 08:56:34 +0100
committerMichel Etienne2013-01-14 08:56:34 +0100
commit75cbf22027e9798df93fff52bacf6d2edfdd8a9a (patch)
tree7bba72aa79bada05436be78c3730b573a867131d
parenta09d1ce5d8aac2212aa8384d2691f27a93118575 (diff)
downloadchouette-core-75cbf22027e9798df93fff52bacf6d2edfdd8a9a.tar.bz2
correct referential count
-rw-r--r--app/views/referentials/show.js.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/referentials/show.js.erb b/app/views/referentials/show.js.erb
index 329c43c59..d44962b14 100644
--- a/app/views/referentials/show.js.erb
+++ b/app/views/referentials/show.js.erb
@@ -13,11 +13,13 @@ return $(info.find('.' + key)[0]).text(value);
return $.each(json, update_info);
};
update_referential_details = function() {
-return $.getJSON(<%= referential_path(@referential, :format => :json) %>, update_infos);
+return $.getJSON("<%= referential_path(@referential, :format => :json) %>", update_infos);
};
+
_results = [];
_results.push(update_referential_details());
return _results;
});
+});