]> git.andy128k.dev Git - ipf.git/commitdiff
add extra_js to login & changepassword
authorAndrey Kutejko <andy128k@gmail.com>
Thu, 9 May 2013 11:17:36 +0000 (14:17 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Thu, 9 May 2013 11:17:36 +0000 (14:17 +0300)
ipf/admin/views.php

index 4afe2da85797ffbd73b38cc6d89b818146025b14..e206c6e6664895af26f62049f39cfec4d5f0a946 100644 (file)
@@ -261,6 +261,7 @@ function IPF_Admin_Views_ChangePassword($request, $match)
                 'object'=>$user,
                 'form' => $form,
                 'form_html' => IPF_Admin_App::renderForm($form),
+                'extra_js' => array(),
                 'lapp'=>$lapp,
                 'lmodel'=>$lmodel,
                 'admin_title' => IPF::get('admin_title'),
@@ -300,6 +301,7 @@ function IPF_Admin_Views_Login($request, $match)
         'page_title' => IPF::get('admin_title'),
         'form' => $form,
         'form_html' => IPF_Admin_App::renderForm($form),
+        'extra_js' => $form->extra_js(),
         'admin_title' => IPF::get('admin_title'),
         'indexpage_url'=>IPF::get('indexpage_url','/'),
     );