# HG changeset patch # User Marcin Kuzminski # Date 2012-11-04 13:28:03 # Node ID 95f03f8f5f9a947380facc270a5b51c437f812f8 # Parent b84a4ec93ab688f2e6cbb70a105194fd907c8073 - add loading message on lazy loaded toolips for journals - fixed callbacks on admin journal diff --git a/rhodecode/public/js/rhodecode.js b/rhodecode/public/js/rhodecode.js --- a/rhodecode/public/js/rhodecode.js +++ b/rhodecode/public/js/rhodecode.js @@ -327,11 +327,13 @@ var show_changeset_tooltip = function(){ var json = JSON.parse(o.responseText); YUD.addClass(target,'tooltip') YUD.setAttribute(target, 'title',json['message']); - YAHOO.yuitip.main.set_listeners(target); YAHOO.yuitip.main.show_yuitip(e, target); } if(rid && !YUD.hasClass(target, 'tooltip')){ YUD.setAttribute(target,'id',ttid); + YUD.setAttribute(target, 'title',_TM['loading...']); + YAHOO.yuitip.main.set_listeners(target); + YAHOO.yuitip.main.show_yuitip(e, target); ajaxGET('/changeset_info/{0}/{1}'.format(repo_name,rid), success) } }); @@ -351,7 +353,7 @@ YAHOO.yuitip.main = { opacity: 0.9, offset: [15,15], useAnim: false, - maxWidth: 300, + maxWidth: 600, add_links: false, yuitips: [], diff --git a/rhodecode/templates/admin/admin_log.html b/rhodecode/templates/admin/admin_log.html --- a/rhodecode/templates/admin/admin_log.html +++ b/rhodecode/templates/admin/admin_log.html @@ -34,7 +34,11 @@