]> git.andy128k.dev Git - ipf-legacy-orm.git/commitdiff
admin widgets
authorAndrey Kutejko <andy128k@gmail.com>
Sun, 14 Dec 2014 12:46:44 +0000 (14:46 +0200)
committerAndrey Kutejko <andy128k@gmail.com>
Sun, 14 Dec 2014 12:46:44 +0000 (14:46 +0200)
src/adminmodelinline.php
src/modelform.php

index c9e70e03814ef1fea7040bcd9fdbd78fcb11331c..be440f31724a5599f5836098934932c01fa88d06 100644 (file)
@@ -98,7 +98,7 @@ abstract class IPF_Admin_ModelInline
         );
         $o = $this->_orderableColumn();
         if ($o) {
-            $fieldClass = 'IPF_Form_Field_OrderedSet';
+            $fieldClass = 'IPF_Admin_Form_Field_OrderedSet';
             $exclude[] = $o;
             $args['orderBy'] = $o;
         } else {
index fe9cb9344bf3d387d07dfa448ecbb71aeeab4830..2616199705b392630df6f32f8589956f5ba16f44 100644 (file)
@@ -112,7 +112,7 @@ class IPF_Form_Model extends IPF_Form
                 if     (isset($col['email']) && $col['email'])  { $form_field = new IPF_Form_Field_Email($params); }
                 elseif (isset($col['file'])  && $col['file'])   { $form_field = new IPF_Form_Field_File($params); }
                 elseif (isset($col['image']) && $col['image'])  { $form_field = new IPF_Form_Field_Image($params); }
-                elseif (isset($col['html'])  && $col['html'])   { $form_field = new IPF_Form_Field_Html($params); }
+                elseif (isset($col['html'])  && $col['html'])   { $form_field = new IPF_Admin_Form_Field_Html($params); }
                 else                                            { $form_field = new IPF_Form_Field_Varchar($params); }
 
                 break;