|
|
|
@ -263,8 +263,6 @@ $orderUrl = api_get_path(WEB_AJAX_PATH).'session.ajax.php?a=order'; |
|
|
|
|
multipleSearch : true, |
|
|
|
|
overlay : false, |
|
|
|
|
width: 'auto', |
|
|
|
|
caption: '<?php echo addslashes(get_lang('Search')); ?>',
|
|
|
|
|
formclass:'data_table', |
|
|
|
|
onSearch : function() { |
|
|
|
|
var postdata = grid.jqGrid('getGridParam', 'postData'); |
|
|
|
|
|
|
|
|
@ -336,16 +334,6 @@ $orderUrl = api_get_path(WEB_AJAX_PATH).'session.ajax.php?a=order'; |
|
|
|
|
} |
|
|
|
|
?> |
|
|
|
|
|
|
|
|
|
// Fixes search table. |
|
|
|
|
var searchDialogAll = $("#fbox_"+grid[0].id); |
|
|
|
|
searchDialogAll.addClass("table"); |
|
|
|
|
var searchDialog = $("#searchmodfbox_"+grid[0].id); |
|
|
|
|
searchDialog.addClass("ui-jqgrid ui-widget ui-widget-content ui-corner-all"); |
|
|
|
|
searchDialog.css({position:"adsolute", "z-index":"100", "float":"left", "top":"55%", "left" : "25%", "padding" : "5px", "border": "1px solid #CCC"}) |
|
|
|
|
var gbox = $("#gbox_"+grid[0].id); |
|
|
|
|
gbox.before(searchDialog); |
|
|
|
|
gbox.css({clear:"left"}); |
|
|
|
|
|
|
|
|
|
//Select first elements by default |
|
|
|
|
$('.input-elm').each(function(){ |
|
|
|
|
$(this).find('option:first').attr('selected', 'selected'); |
|
|
|
@ -404,8 +392,6 @@ if (api_is_platform_admin()) { |
|
|
|
|
echo '</div>'; |
|
|
|
|
} |
|
|
|
|
echo '</div>'; |
|
|
|
|
echo '<div id="session-table" class="table-responsive">'; |
|
|
|
|
echo Display::grid_html('sessions'); |
|
|
|
|
echo '</div>'; |
|
|
|
|
|
|
|
|
|
Display::display_footer(); |
|
|
|
|