pluginsGLPI / talk

GLPI Plugin Talk (Download : https://github.com/TECLIB/talk/releases)
http://www.teclib.com/
GNU General Public License v2.0
5 stars 0 forks source link

[0.83]hidden tabs not hidden #4

Closed orthagh closed 10 years ago

orthagh commented 10 years ago

Ex :

ext-comp-1001__TicketFollowup\$1

instead of

ext-comp-1002__TicketFollowup\$1

Can we set a wilcard for this ? Otherwise we can use a js script instead of css, the wildcard support guarranted. Ex :

Ext.select('ul.x-tab-strip > li[id$=TicketFollowup\$1]').remove() 

see : http://docs.sencha.com/core/manual/content/domquery.html I prefer css, to test !

orthagh commented 10 years ago

this css3 selector works :

ul.x-tab-strip > li[id*=TicketFollowup]
Manu1400 commented 10 years ago

This selector worked in IE7. source : http://www.w3schools.com/cssref/sel_attr_contain.asp