Author: weaverryan
Date: 2010-01-24 04:11:24 +0100 (Sun, 24 Jan 2010)
New Revision: 27112
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/js/admin.js
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/web/css/editor.css
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/web/js/editor.js
Log:
[1.4][sfSympalPlugin][1.0] Slightly fixed the javascript weirdness with the
admin menu in the admin area. It still works poorly - parts need to be
reworked, but it's more functional.
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/js/admin.js
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/js/admin.js
2010-01-24 01:22:19 UTC (rev 27111)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/web/js/admin.js
2010-01-24 03:11:24 UTC (rev 27112)
@@ -85,6 +85,8 @@
$('#' + current + ' li').hide();
current = $(this).parents('li').attr('id');
$.cookie('sympal_admin_menu', current);
+
+ sympalMenuItem = false;
});
$('#sympal_admin_menu ul li ul li').hide();
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/web/css/editor.css
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/web/css/editor.css
2010-01-24 01:22:19 UTC (rev 27111)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/web/css/editor.css
2010-01-24 03:11:24 UTC (rev 27112)
@@ -230,7 +230,7 @@
margin: 0;
padding: 0;
position: absolute;
- visibility: hidden;
+ display: none;
background: #fff;
border-left: 1px solid #333;
border-bottom: 1px solid #333;
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/web/js/editor.js
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/web/js/editor.js
2010-01-24 01:22:19 UTC (rev 27111)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/web/js/editor.js
2010-01-24 03:11:24 UTC (rev 27112)
@@ -191,14 +191,14 @@
{
sympalAdminMenuCancelTimer();
sympalAdminMenuClose();
- sympalMenuItem = $(this).find('ul').css('visibility', 'visible');
+ sympalMenuItem = $(this).find('ul').show();
}
function sympalAdminMenuClose()
{
if (sympalMenuItem)
{
- sympalMenuItem.css('visibility', 'hidden');
+ sympalMenuItem.hide();
}
}
--
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.