Fixed a bug that info layer changes scroll position

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8962 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-08-31 02:50:21 +00:00
parent dbbb7fd196
commit 5b39c38d82

View file

@ -957,14 +957,16 @@ jQuery(function($){
};
var response_tags = 'error message menus'.split(' ');
// prevent default action
evt.preventDefault();
evt.stopPropagation();
if(is_def(window.xeVid)) params.vid = xeVid;
if(is_def(XE.loaded_popup_menus[params.menu_id])) return XE.displayPopupMenu(params, response_tags, params) && false;
if(is_def(XE.loaded_popup_menus[params.menu_id])) return XE.displayPopupMenu(params, response_tags, params);
show_waiting_message = false;
exec_xml('member', action, params, XE.displayPopupMenu, response_tags, params);
show_waiting_message = true;
return false;
});
/**