Browse Source

przywrocenie starej edycji E w procesie oraz nowej jako "e"

a.binder 9 years ago
parent
commit
c0dd9cbfe7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      SE/procesy5.php

+ 2 - 1
SE/procesy5.php

@@ -1990,7 +1990,8 @@ function tree_callback__show_item_from_CRM_PROCES( &$r, &$tree ) {
 		if ($tree->get_param('ProcesTblId') > 0) {
 			// rem@2016-08 sqix link do nowy edytor: 
 			if($r->TYPE == 'PROCES_INIT') {
-				echo App::link("E", "index.php?_route=UrlAction_ProcesEditor&id=".$r->ID, array('title'=>'Edytuj', 'class'=>'btn-p5'));
+				echo App::link("E", "index.php?MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID=".$tree->get_param('ProcesTblId')."#EDIT/".$r->ID, array('title'=>'Edytuj', 'class'=>'btn-p5'));
+				echo App::link("e", "index.php?_route=UrlAction_ProcesEditor&id=".$r->ID, array('title'=>'Edytuj', 'class'=>'btn-p5'));
 			} else { 
 				echo App::link("E", "index.php?MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID=".$tree->get_param('ProcesTblId')."#EDIT/".$r->ID, array('title'=>'Edytuj', 'class'=>'btn-p5'));
 			}