fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12441] add widget treeview


From: Nelson Guerra
Subject: [Fmsystem-commits] [12441] add widget treeview
Date: Wed, 10 Dec 2014 23:22:22 +0000

Revision: 12441
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12441
Author:   nelson224
Date:     2014-12-10 23:22:22 +0000 (Wed, 10 Dec 2014)
Log Message:
-----------
add widget treeview

Modified Paths:
--------------
    branches/dev-syncromind/phpgwapi/inc/class.jquery.inc.php

Modified: branches/dev-syncromind/phpgwapi/inc/class.jquery.inc.php
===================================================================
--- branches/dev-syncromind/phpgwapi/inc/class.jquery.inc.php   2014-12-10 
23:21:21 UTC (rev 12440)
+++ branches/dev-syncromind/phpgwapi/inc/class.jquery.inc.php   2014-12-10 
23:22:22 UTC (rev 12441)
@@ -118,6 +118,19 @@
 
                                break;
 
+                       case 'treeview':
+                               $load = array
+                                       (
+                                       "js/jquery-2.1.1{$_type}",
+                                       "treeview/jquery.treeview",
+                                       "treeview/jquery.treeview.edit",
+                                       "treeview/jquery.treeview.async"
+                               );
+
+                               
$GLOBALS['phpgw']->css->add_external_file("phpgwapi/js/jquery/treeview/css/jquery.treeview.css");
+
+                               break;
+                       
                        default:
                                $err = "Unsupported YUI widget '%1' supplied to 
phpgwapi_yui::load_widget()";
                                trigger_error(lang($err, $widget), 
E_USER_WARNING);




reply via email to

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