New: add constant MAIN_FORCE_RELOAD_PAGE
This commit is contained in:
parent
65a8511a36
commit
a55aaae6b8
@ -40,7 +40,7 @@ jQuery(document).ready(function(){
|
||||
var element_id = "<?php echo $object->id; ?>";
|
||||
jQuery.get("<?php echo DOL_URL_ROOT; ?>/core/ajaxrow.php?roworder="+roworder+"&table_element_line="+table_element_line+"&fk_element="+fk_element+"&element_id="+element_id);
|
||||
if (reloadpage == 1) {
|
||||
location.href = '<?php echo $_SERVER['PHP_SELF'].$_SERVER['QUERY_STRING']; ?>';
|
||||
location.href = '<?php echo $_SERVER['PHP_SELF'].'&'.$_SERVER['QUERY_STRING']; ?>';
|
||||
} else {
|
||||
jQuery("#tablelines .drag").each(
|
||||
function( intIndex ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user