commit 980c81185f0872c64463ef1200d60a826dad005e
parent 08abcb1ed33005561d75de631d4fa97b25f67930
Author: Jan Dankert <devnull@localhost>
Date: Thu, 10 Nov 2011 22:35:24 +0100
Fix: Setzen von Berechtigungen.
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/action/ObjectAction.class.php b/action/ObjectAction.class.php
@@ -237,7 +237,7 @@ class ObjectAction extends Action
*
* @return unknown_type
*/
- function inheritAction()
+ function rightsAction()
{
$log = array();
diff --git a/themes/default/js/openrat.js b/themes/default/js/openrat.js
@@ -366,7 +366,8 @@ function startView( element,view )
{
//alert( "startView: "+$(element).html() );
var action = $(element).closest('div.frame').attr('data-action');
- var url = createUrl(action, view, 0);
+ var id = $(element).closest('div.frame').attr('data-id' );
+ var url = createUrl(action, view, id);
loadView( $(element).closest('div.filler'), url );
// Alle refresh-fähigen Views mit dem neuen Objekt laden.