diff options
Diffstat (limited to 'app/views/referentials/show.js.slim')
| -rw-r--r-- | app/views/referentials/show.js.slim | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/app/views/referentials/show.js.slim b/app/views/referentials/show.js.slim deleted file mode 100644 index 5e47bf935..000000000 --- a/app/views/referentials/show.js.slim +++ /dev/null @@ -1,19 +0,0 @@ -| $(function() { -| var ref, update_infos, update_referential_details, _i, _len, _ref, _results; -| update_infos = function(json) { -| var info, update_info; -| info = $('#referential_' + json.referential_id); -| update_info = function(key, value) { -| if (key.match(/_count$/)) { -| 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); -| }; -| _results = []; -| _results.push(update_referential_details()); -| return _results; -| }); |
