Author: ornicar2
Date: 2010-02-11 14:16:34 +0100 (Thu, 11 Feb 2010)
New Revision: 27887

Modified:
   plugins/diemPlugin/trunk/dmAdminPlugin/web/js/dmAdminCtrl.js
Log:
[Diem]
- fixed JS interactions on admin list pages

Modified: plugins/diemPlugin/trunk/dmAdminPlugin/web/js/dmAdminCtrl.js
===================================================================
--- plugins/diemPlugin/trunk/dmAdminPlugin/web/js/dmAdminCtrl.js        
2010-02-11 13:16:24 UTC (rev 27886)
+++ plugins/diemPlugin/trunk/dmAdminPlugin/web/js/dmAdminCtrl.js        
2010-02-11 13:16:34 UTC (rev 27887)
@@ -19,7 +19,7 @@
       {
         $form.dmAdminForm(this.options);
       }
-      else if ($("body").hasClass('list')) 
+      else if ($("#dm_admin_content").hasClass('action_index'))
       {
         this.listPage();
       }
@@ -101,7 +101,7 @@
       {
         $searchInput.focus();
       }
-      
+
       self.$.find('input.sf_admin_list_batch_checkbox').each(function()
       {
         $(this).click(function()

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to