Author: sevein
Date: Thu Oct 15 10:54:11 2009
New Revision: 3753
Log:
Temporary solution for issue 809 with some help from JavaScript, :-).
Modified:
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/indexSuccess.php
Modified:
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/indexSuccess.php
==============================================================================
---
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/indexSuccess.php
Thu Oct 15 09:31:17 2009 (r3752)
+++
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/indexSuccess.php
Thu Oct 15 10:54:11 2009 (r3753)
@@ -1,3 +1,17 @@
+<?php use_helper('Javascript') ?>
+
+<?php echo javascript_tag(<<<EOF
+Drupal.behaviors.sfPluginAdminPlugin = {
+ attach: function (context) {
+ $('input[name=\'enabled[]\']').click(function() {
+ $('input[name=\'enabled[]\']').removeAttr('checked');
+ $(this).attr('checked', 'checked');
+ });
+ }
+};
+EOF
+) ?>
+
<div class="options-list"><a class="active">list</a><?php echo
link_to('configure', array('module' => 'sfThemePlugin')) ?></div>
<div class="pageTitle"><?php echo __('list themes'); ?></div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" 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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---