mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +09:00
merge from 1.5.3.2 (~r11225)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@11226 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
54e3a72065
commit
77f5aa2671
313 changed files with 8058 additions and 14251 deletions
|
|
@ -13,7 +13,7 @@ xe.MidManager = xe.createApp("MidManager", {
|
|||
return false;
|
||||
});
|
||||
|
||||
$keyObj.siblings('button.delete').bind('click', function(){
|
||||
$keyObj.parent().find('button.delete,a.delete').bind('click', function(){
|
||||
$keyObj.val('').next().val('');
|
||||
return false;
|
||||
});
|
||||
|
|
@ -24,6 +24,13 @@ xe.MidManager = xe.createApp("MidManager", {
|
|||
$finder.slideUp(100);
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery(function($){
|
||||
$('.moduleSearch').bind('moduleSelect', function(e, aSelected){
|
||||
self.cast('MID_SYNC_NEW', aSelected);
|
||||
});
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
API_MID_SYNC: function(){
|
||||
|
|
@ -43,6 +50,27 @@ xe.MidManager = xe.createApp("MidManager", {
|
|||
self.$keyObj.next().val(data.module_list[0].browser_title+' ('+data.module_list[0].mid+', '+data.module_list[0].module_name+')');
|
||||
}
|
||||
|
||||
$.exec_json('module.getModuleAdminModuleList', {'module_srls': module_srl}, on_complete);
|
||||
},
|
||||
|
||||
API_MID_SYNC_NEW: function(htBase, aParam){
|
||||
var self = this;
|
||||
|
||||
htSelected = aParam[0];
|
||||
|
||||
var module_srl = htSelected.module_srl;
|
||||
if (!module_srl) return;
|
||||
|
||||
function on_complete(data){
|
||||
if (data.error){
|
||||
alert(data.message);
|
||||
return;
|
||||
}
|
||||
|
||||
self.$keyObj.val(data.module_list[0].module_srl);
|
||||
self.$keyObj.next().val(data.module_list[0].browser_title+' ('+data.module_list[0].mid+', '+data.module_list[0].module_name+')');
|
||||
}
|
||||
|
||||
$.exec_json('module.getModuleAdminModuleList', {'module_srls': module_srl}, on_complete);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue