Author: sevein
Date: Tue Oct 12 08:22:13 2010
New Revision: 8063
Log:
Remove unused JavaScript code.
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
Tue Oct 12 08:16:32 2010 (r8062)
+++
trunk/plugins/sfPluginAdminPlugin/modules/sfPluginAdminPlugin/templates/indexSuccess.php
Tue Oct 12 08:22:13 2010 (r8063)
@@ -1,24 +1,3 @@
-<?php use_helper('Javascript') ?>
-
-<?php echo javascript_tag(<<<content
-Drupal.behaviors.sfPluginAdminPlugin = {
- attach: function (context) {
- $('input[name=\'enabled[]\']').click(function() {
- if (!$(this).is(':checked'))
- {
- $(this).removeAttr('checked');
- }
- else
- {
- $('input[name=\'enabled[]\']').removeAttr('checked');
- $(this).attr('checked', 'checked');
- }
- });
- }
-};
-content
-) ?>
-
<h1><?php echo __('List plugins') ?></h1>
<?php echo $form->renderFormTag(url_for(array('module' =>
'sfPluginAdminPlugin'))) ?>
--
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.com/group/qubit-commits?hl=en.