summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-11-18 13:52:07 -0600
committerMike Greiling <mike@pixelcog.com>2016-11-18 13:52:07 -0600
commit486f69735ca3a777c3a4258c89036677be5274da (patch)
tree7990ee12e05558e0e7fe7df88e87041c373e1720
parent03933cd279f0870a16f126619380ec386d68345a (diff)
downloadgitlab-ce-24652-fix-timeago-not-rendering-in-repository-view.tar.gz
fix broken ajax for large repository trees (regression caused in !7208)24652-fix-timeago-not-rendering-in-repository-view
-rw-r--r--app/views/projects/refs/logs_tree.js.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/refs/logs_tree.js.haml b/app/views/projects/refs/logs_tree.js.haml
index 44fa4b60343..d07bb661615 100644
--- a/app/views/projects/refs/logs_tree.js.haml
+++ b/app/views/projects/refs/logs_tree.js.haml
@@ -14,8 +14,8 @@
// Load more commit logs for each file in tree
// if we still on the same page
var url = "#{escape_javascript(@more_log_url)}";
- ajaxGet(url);
+ gl.utils.ajaxGet(url);
}
:plain
- gl.utils.localTimeAgo($('.js-timeago', 'table.table_#{@hex_path} tbody')); \ No newline at end of file
+ gl.utils.localTimeAgo($('.js-timeago', 'table.table_#{@hex_path} tbody'));