Changeset - c69006a70e6b
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 13 years ago 2012-12-19 00:30:16
marcin@python-works.com
fix small issue with anchor autolinks
2 files changed with 8 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/admin/users/user_edit_my_account.html
Show inline comments
 
@@ -162,25 +162,28 @@ YUE.on('show_pullrequests','click',funct
 
	show_pullrequests(e)
 
})
 

	
 
var tabs = {
 
    'perms': show_perms,
 
    'my': show_my,
 
    'pullrequests': show_pullrequests
 
}
 
var url = location.href.split('#');
 
if (url[1]) {
 
    //We have a hash
 
    var tabHash = url[1];
 
    tabs[tabHash]();
 
    var func = tabs[tabHash]
 
    if (func){
 
        func();
 
    }
 
}
 

	
 
// main table sorting
 
var myColumnDefs = [
 
    {key:"menu",label:"",sortable:false,className:"quick_repo_menu hidden"},
 
    {key:"name",label:"${_('Name')}",sortable:true,
 
        sortOptions: { sortFunction: nameSort }},
 
    {key:"tip",label:"${_('Tip')}",sortable:true,
 
        sortOptions: { sortFunction: revisionSort }},
 
    {key:"action1",label:"",sortable:false},
 
    {key:"action2",label:"",sortable:false},
 
];
rhodecode/templates/journal/journal.html
Show inline comments
 
@@ -168,25 +168,28 @@
 
    })
 
    //init watched
 
    show_watched();
 

	
 
    var tabs = {
 
        'watched': show_watched,
 
        'my': show_my,
 
    }
 
    var url = location.href.split('#');
 
    if (url[1]) {
 
        //We have a hash
 
        var tabHash = url[1];
 
        tabs[tabHash]();
 
        var func = tabs[tabHash]
 
        if (func){
 
        	func();
 
        }
 
    }
 

	
 
    YUE.on('refresh','click',function(e){
 
        ypjax("${h.url.current(filter=c.search_term)}","journal",function(){
 
        	show_more_event();
 
        	tooltip_activate();
 
        	show_changeset_tooltip();
 
        	});
 
        YUE.preventDefault(e);
 
    });
 

	
 

	
0 comments (0 inline, 0 general)