ZF-6431: HeadLink() appendFile print 2 time the same entry.
Description
I have 2 view Helper for my form.
one for the date and other for the time. in my two view helper I have this code.
$view->headLink()->appendStylesheet(array( 'type' => 'text/css', 'rel' => 'stylesheet', 'media' => 'all', 'href' => $view->StaticUrl('/plugins/jquery/css/ui-lightness/jquery-ui-1.7.1.custom.css') , ));
When I use a date and a time element in the same form, the two helper are called and this css link is print 2 time in my header. headScript() work like a charme for that. I can print $view->headScript()->appendFile($view->StaticUrl('/plugins/jquery/jquery-1.3.2.min.js')); as many time I want it will only print it once in my header.
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2009-04-26T17:50:56.000+0000
Assigning to Ralph.
Posted by Rob Allen (rob) on 2012-11-20T20:52:45.000+0000
Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".
Feel free to re-open and provide a patch if you want to fix this issue.