comparison rhodecode/templates/admin/users/user_edit_my_account.html @ 2951:301773d07012 beta

Lazy loading on my journal page
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 23 Oct 2012 00:02:59 +0200
parents 0b86972de820
children a5f0bc867edc c69006a70e6b
comparison
equal deleted inserted replaced
2950:528c7f210b12 2951:301773d07012
133 YUD.setStyle('pullrequests','display','none'); 133 YUD.setStyle('pullrequests','display','none');
134 YUD.setStyle('my','display',''); 134 YUD.setStyle('my','display','');
135 YUD.setStyle('q_filter','display',''); 135 YUD.setStyle('q_filter','display','');
136 136
137 137
138 var url = "${h.url('admin_settings_my_repos')}"; 138 var url = "${h.url('journal_my_repos')}";
139 ypjax(url, 'my', function(){ 139 ypjax(url, 'my', function(){
140 table_sort(); 140 table_sort();
141 filter_activate(); 141 filter_activate();
142 }); 142 });
143 } 143 }
169 } 169 }
170 var url = location.href.split('#'); 170 var url = location.href.split('#');
171 if (url[1]) { 171 if (url[1]) {
172 //We have a hash 172 //We have a hash
173 var tabHash = url[1]; 173 var tabHash = url[1];
174 console.log(tabs, tabHash)
175 tabs[tabHash](); 174 tabs[tabHash]();
176 } 175 }
177 176
178 // main table sorting 177 // main table sorting
179 var myColumnDefs = [ 178 var myColumnDefs = [