fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [10042] Removed dummy method 'edit something'


From: Erik Holm-Larsen
Subject: [Fmsystem-commits] [10042] Removed dummy method 'edit something'
Date: Thu, 27 Sep 2012 10:27:42 +0000

Revision: 10042
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10042
Author:   erikhl
Date:     2012-09-27 10:27:42 +0000 (Thu, 27 Sep 2012)
Log Message:
-----------
Removed dummy method 'edit something'

Modified Paths:
--------------
    trunk/logistic/inc/class.uiproject.inc.php

Modified: trunk/logistic/inc/class.uiproject.inc.php
===================================================================
--- trunk/logistic/inc/class.uiproject.inc.php  2012-09-27 10:11:19 UTC (rev 
10041)
+++ trunk/logistic/inc/class.uiproject.inc.php  2012-09-27 10:27:42 UTC (rev 
10042)
@@ -45,8 +45,7 @@
                        'edit_project_type' => true,
                        'edit_project_type_name' => true,
                        'add' => true,
-                       'edit' => true,
-                       'edit_something' => true
+                       'edit' => true
                );
 
                public function __construct()
@@ -162,7 +161,7 @@
                        {
                                return $this->query();
                        }
-//                     self::add_javascript('logistic', 'yahoo', 
'datatable.js');
+
                        self::add_javascript('phpgwapi', 'yahoo', 
'datatable.js');
                        phpgwapi_yui::load_widget('datatable');
                        phpgwapi_yui::load_widget('paginator');
@@ -198,7 +197,6 @@
                                ),
                                'datatable' => array(
                                        'source' => 
self::link(array('menuaction' => 'logistic.uiproject.index', 'phpgw_return_as' 
=> 'json')),
-                                       'editor_action' => 
'logistic.uiproject.edit_something',
                                        'field' => array(
                                                array(
                                                        'key' => 'name',
@@ -214,8 +212,7 @@
                                                array(
                                                        'key' => 'description',
                                                        'label' => 
lang('Project description'),
-                                                       'sortable' => false,
-                                                       'editor' => 'new 
YAHOO.widget.TextboxCellEditor({disableBtns:true})'
+                                                       'sortable' => false
                                                ),
                                                array(
                                                        'key' => 
'project_type_label',
@@ -233,11 +230,6 @@
                        self::render_template_xsl(array('project_datatable', 
'datatable'), $data);
                }
 
-               public function edit_something()
-               {
-                       return 'kvittering';
-               }
-
                public function project_types()
                {
                        $GLOBALS['phpgw_info']['flags']['menu_selection'] = 
"admin::logistic::project_types";




reply via email to

[Prev in Thread] Current Thread [Next in Thread]