admin css position problem of menu buttons

edited March 2012 in Bug Reports
In administration i see that navgiagtion is not working correctly. In FF and chroome i get strange smal pixels. (http://shrani.si/f/2p/IJ/20NWaoHi/asdasd.png).

I check HTML code and looks like this:

<ul> <li class="end"><a href="http://localhost:8180/pikacom/fuel/authors/create" class="ico ico_create" id="create_item">Create</a></li> <li class="spacer end"><a href="#" class="ico ico_delete" id="multi_delete" style="display: none; ">Delete Multiple</a></li> <li class="spacer end"><a href="#" class="ico ico_precedence" id="rearrange" style="display: none; ">Rearrange</a></li> </ul>

how to fix this poblem. problem is in <li class="spacer end">

Comments

  • edited 7:14AM
    Thanks for the report. We will have that fixed in a future update. Until then, I can tell you where the fix will be. There are a couple spots in the fuel/modules/fuel/assets/js/jqx/controller/BaseFuelController.js file on line 220 and 222, and 225 in which to call the parent element instead:
    $('.multi_delete').live('click', function(e){ if ($('.multi_delete:checked').size()){ $('#multi_delete').parent().css({display: 'block'}); } else { $('#multi_delete').parent().hide(); } }); $('#multi_delete').parent().hide();

    For the rearrange you'll need to add the parent() on line 963.
Sign In or Register to comment.