[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9198] property: user jQuery wrapper
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9198] property: user jQuery wrapper |
Date: |
Sat, 21 Apr 2012 19:40:08 +0000 |
Revision: 9198
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9198
Author: sigurdne
Date: 2012-04-21 19:40:08 +0000 (Sat, 21 Apr 2012)
Log Message:
-----------
property: user jQuery wrapper
Modified Paths:
--------------
trunk/property/inc/class.uiinvoice2.inc.php
Modified: trunk/property/inc/class.uiinvoice2.inc.php
===================================================================
--- trunk/property/inc/class.uiinvoice2.inc.php 2012-04-21 19:39:22 UTC (rev
9197)
+++ trunk/property/inc/class.uiinvoice2.inc.php 2012-04-21 19:40:08 UTC (rev
9198)
@@ -27,8 +27,12 @@
*/
phpgw::import_class('phpgwapi.yui');
-// phpgw::import_class('registration.uicommon');
+ /**
+ * Import the jQuery class
+ */
+ phpgw::import_class('phpgwapi.jquery');
+
class property_uiinvoice2
{
var $cat_id;
@@ -381,15 +385,11 @@
phpgwapi_yui::load_widget('paginator');
phpgwapi_yui::load_widget('animation');
+ phpgwapi_jquery::load_widget('core');
- self::add_javascript('controller', 'controller',
'jquery.js');
self::add_javascript('property', 'portico',
'ajax_invoice.js');
self::add_javascript('property', 'yahoo',
'invoice2.index.js');
-
-// self::render_template_xsl(array('invoice2', 'common'),
$data);
-// self::render_template_xsl(array('invoice2'), $data);
-
$GLOBALS['phpgw']->xslttpl->add_file(array('invoice2'));
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('data' => $data));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9198] property: user jQuery wrapper,
Sigurd Nes <=