Skip to content
Snippets Groups Projects
Commit 51473444 authored by Regis Houssin's avatar Regis Houssin
Browse files

New: add constant MAIN_FORCE_RELOAD_PAGE

parent a55aaae6
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment