fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [9199] registration: user jQuery wrapper


From: Sigurd Nes
Subject: [Fmsystem-commits] [9199] registration: user jQuery wrapper
Date: Sat, 21 Apr 2012 19:40:40 +0000

Revision: 9199
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9199
Author:   sigurdne
Date:     2012-04-21 19:40:39 +0000 (Sat, 21 Apr 2012)
Log Message:
-----------
registration: user jQuery wrapper

Modified Paths:
--------------
    trunk/registration/inc/class.uireg.inc.php

Modified: trunk/registration/inc/class.uireg.inc.php
===================================================================
--- trunk/registration/inc/class.uireg.inc.php  2012-04-21 19:40:08 UTC (rev 
9198)
+++ trunk/registration/inc/class.uireg.inc.php  2012-04-21 19:40:39 UTC (rev 
9199)
@@ -16,6 +16,11 @@
 
        /* $Id$ */
 
+       /**
+       * Import the jQuery class
+       */
+       phpgw::import_class('phpgwapi.jquery');
+
        class uireg
        {
                var $template;
@@ -149,7 +154,7 @@
 
                function step2($errors = '',$r_reg = '',$o_reg = 
'',$missing_fields='')
                {
-                       $GLOBALS['phpgw']->js->validate_file('controller', 
'jquery', 'controller');
+                       phpgwapi_jquery::load_widget('core');
                        $GLOBALS['phpgw']->js->validate_file('portico', 'ajax', 
'registration');
 
                        $show_password_prompt = True;




reply via email to

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