# HG changeset patch # User Søren Løvborg # Date 2017-02-14 21:19:46 # Node ID 9ee5e055514e7d692accc390966b35e9b1930c8d # Parent 481f64dbe85c7d4e20db7e58d505e08444e0f65d templates: drop unused "node_history_url" JS variable diff --git a/kallithea/templates/files/files.html b/kallithea/templates/files/files.html --- a/kallithea/templates/files/files.html +++ b/kallithea/templates/files/files.html @@ -43,8 +43,6 @@ var CACHE_EXPIRE = 5*60*1000; //cache fo var url_base = '${h.url("files_home",repo_name=c.repo_name,revision='__REV__',f_path='__FPATH__')}'; //send the nodelist request to this url var node_list_url = '${h.url("files_nodelist_home",repo_name=c.repo_name,revision='__REV__',f_path='__FPATH__')}'; -// send the node history requst to this url -var node_history_url = '${h.url("files_history_home",repo_name=c.repo_name,revision='__REV__',f_path='__FPATH__')}'; ## new pyroutes URLs pyroutes.register('files_nodelist_home', "${h.url('files_nodelist_home', repo_name=c.repo_name,revision='%(revision)s',f_path='%(f_path)s')}", ['revision', 'f_path']);