Global Settings page - apply new function, bindActionLink(), which solves mouseover issue.

This commit is contained in:
Jessica Wang 2011-02-01 18:09:24 -08:00
parent ff281af035
commit bf6edd62af
2 changed files with 14 additions and 10 deletions

View File

@ -17,6 +17,19 @@
*/
function afterLoadGlobalSettingJSP() {
var $actionLink = $("#right_panel_content #tab_content_details #action_link");
bindActionLink($actionLink);
/*
$actionLink.bind("mouseover", function(event) {
$(this).find("#action_menu").show();
return false;
});
$actionLink.bind("mouseout", function(event) {
$(this).find("#action_menu").hide();
return false;
});
*/
populateGlobalSettingGrid();
//actions

View File

@ -248,16 +248,7 @@ $(document).ready(function() {
});
if (currentRightPanelJSP != "jsp/globalsetting.jsp") {
$("#right_panel").load("jsp/globalsetting.jsp", function(){
currentRightPanelJSP = "jsp/globalsetting.jsp";
var $actionLink = $("#right_panel_content #tab_content_details #action_link");
$actionLink.bind("mouseover", function(event) {
$(this).find("#action_menu").show();
return false;
});
$actionLink.bind("mouseout", function(event) {
$(this).find("#action_menu").hide();
return false;
});
currentRightPanelJSP = "jsp/globalsetting.jsp";
afterLoadGlobalSettingJSP();
});
} else {