aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/public/js/rhodecode.js
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2013-02-13 18:35:00 +0100
committerMilo Casagrande <milo@ubuntu.com>2013-02-13 18:35:00 +0100
commitf6e9d7be791b269967311ba281b5705361112669 (patch)
tree3da66a5f98dbb2975d00085dc2a3a781ec73d808 /rhodecode/public/js/rhodecode.js
parentd6b2ec12ceddb987c6f9df411f1c02fe32b1fe0a (diff)
parent637fcc9fc3f7f177097ed2c590d98a077cbeee26 (diff)
Merge branch 'master' into linaro
Fixed conflicts: setup.py
Diffstat (limited to 'rhodecode/public/js/rhodecode.js')
-rw-r--r--rhodecode/public/js/rhodecode.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/rhodecode/public/js/rhodecode.js b/rhodecode/public/js/rhodecode.js
index 5b1ddb2f..f52a280c 100644
--- a/rhodecode/public/js/rhodecode.js
+++ b/rhodecode/public/js/rhodecode.js
@@ -334,7 +334,7 @@ var show_changeset_tooltip = function(){
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)
+ ajaxGET(LAZY_CS_URL.replace('__NAME__',repo_name).replace('__REV__', rid), success)
}
});
};
@@ -416,7 +416,6 @@ YAHOO.yuitip.main = {
},
init: function(){
- yt._tooltip = '';
yt.tipBox = yt.$('tip-box');
if(!yt.tipBox){
yt.tipBox = document.createElement('div');
@@ -457,7 +456,7 @@ YAHOO.yuitip.main = {
if(yt.tipText !== ''){
// save org title
- yt._tooltip = yt.tipText;
+ YUD.setAttribute(el, 'tt_title', yt.tipText);
// reset title to not show org tooltips
YUD.setAttribute(el, 'title', '');
@@ -495,7 +494,7 @@ YAHOO.yuitip.main = {
} else {
YUD.setStyle(yt.tipBox, 'display', 'none');
}
- YUD.setAttribute(el,'title', yt._tooltip);
+ YUD.setAttribute(el,'title', YUD.getAttribute(el, 'tt_title'));
}
}