Issue 2356 : Fixes for the new module selector made in Luminous branch is merged

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11196 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2012-09-10 08:55:43 +00:00
parent 2cea153d4b
commit 2c01573625
7 changed files with 139 additions and 976 deletions

View file

@ -22,9 +22,15 @@ jQuery(function($){
<script>
jQuery(function($){
$('.moduleSearch').bind('moduleSelect', function(e, sModuleType, sModuleInstanceName, sModuleInstanceSrl){
$('#_target_module').val(sModuleInstanceName);
$('#index_module_srl').val(sModuleInstanceSrl);
$('.moduleSearch').bind('moduleSelect', function(e, aSelected){
var sType, sName, sSrl;
sType = aSelected[0].type;
sName = aSelected[0].browser_title;
sSrl = aSelected[0].module_srl;
$('#_target_module').val(sName);
$('#index_module_srl').val(sSrl);
});
});
</script>
@ -65,9 +71,10 @@ jQuery(function($){
<div class="moduleInstanceList sectionDiv">
<h2>{$lang->select_module_instance}</h2>
<div>
<ul class="moduleInstanceListUL">
</ul>
<select class="moduleInstanceListSelect" size="8">
</select>
</div>
<button class="btn btn_primary moduleSearch_ok">{$lang->cmd_select}</button>
</div>
</div>
</div>