Issue 2304 : Now, multiple selection is possible and problem with single module selection in widget code generation page is fixed

git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11132 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
nagoon97 2012-09-02 14:17:40 +00:00
parent 47a05c9259
commit 19f6f31085
7 changed files with 134 additions and 973 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>