Author: Jonathan.Wage
Date: 2010-01-26 18:55:24 +0100 (Tue, 26 Jan 2010)
New Revision: 27202
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/js/admin.js
Log:
[1.4][sfSympalPlugin][1.0] Removing old orphaned js code that was causing
issues with admin menu when in the admin backend
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/js/admin.js
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/js/admin.js
2010-01-26 17:47:47 UTC (rev 27201)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/js/admin.js
2010-01-26 17:55:24 UTC (rev 27202)
@@ -74,21 +74,4 @@
$("#sf_admin_bar").css( { "position": "absolute", "left": (pos.right +
width) + "px", "top":pos.top + 1 + "px" } );
});
}
-
- var current = $.cookie('sympal_admin_menu');
- if (!current)
- {
- current = $('#sympal_admin_menu ul li
.clickable:first-child').parents('li').attr('id');
- }
- $('#sympal_admin_menu ul li .clickable').click(function() {
- $(this).parents('li').find('ul li').slideToggle();
- $('#' + current + ' li').hide();
- current = $(this).parents('li').attr('id');
- $.cookie('sympal_admin_menu', current);
-
- sympalMenuItem = false;
- });
-
- $('#sympal_admin_menu ul li ul li').hide();
- $('#' + current + ' li').show();
});
\ No newline at end of file
--
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.