New: add constant MAIN_FORCE_RELOAD_PAGE

This commit is contained in:
Regis Houssin 2011-04-12 07:56:15 +00:00
parent 99d2185d9a
commit 272ec2779f

View File

@ -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.reload();
location.href = '<?php echo $_SERVER['PHP_SELF']; ?>';
} else {
jQuery("#tablelines .drag").each(
function( intIndex ) {