mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
r8280 supplement
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8281 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
96b8ebc708
commit
ea6e7e01aa
1 changed files with 6 additions and 4 deletions
|
|
@ -922,7 +922,7 @@ jQuery(function($){
|
|||
}
|
||||
);
|
||||
|
||||
// display popup menu that contains member actions
|
||||
// display popup menu that contains member actions and document actions
|
||||
$(document).click(function(evt) {
|
||||
var $area = $('#popup_menu_area');
|
||||
if(!$area.length) $area = $('<div id="popup_menu_area" style="display:none;z-index:9999" />').appendTo(document.body);
|
||||
|
|
@ -935,15 +935,15 @@ jQuery(function($){
|
|||
if(!$target.length) return;
|
||||
|
||||
// 객체의 className값을 구함
|
||||
var match = $target.attr('class').match(/(member_([1-9]\d*))(?: |$)/);
|
||||
var match = $target.attr('class').match(new RegExp('(?:^| )((document|member)_([1-9]\\d*))(?: |$)',''));
|
||||
if(!match) return;
|
||||
|
||||
var action = 'getMemberMenu';
|
||||
var action = 'get'+ucfirst(match[2])+'Menu';
|
||||
var params = {
|
||||
mid : current_mid,
|
||||
cur_mid : current_mid,
|
||||
menu_id : match[1],
|
||||
target_srl : match[2],
|
||||
target_srl : match[3],
|
||||
cur_act : current_url.getQuery('act'),
|
||||
page_x : evt.pageX,
|
||||
page_y : evt.pageY
|
||||
|
|
@ -956,5 +956,7 @@ jQuery(function($){
|
|||
show_waiting_message = false;
|
||||
exec_xml('member', action, params, XE.displayPopupMenu, response_tags, params);
|
||||
show_waiting_message = true;
|
||||
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue