ZF-10254: jQuery does not show up if jQuery UI is disabled

Issue Type: Bug Created: 2010-08-01T01:28:27.000+0000 Last Updated: 2011-02-18T07:08:13.000+0000 Status: Resolved Fix version(s): - 1.11.4 (03/Mar/11)

Reporter: Sandi Verdev (sverde1) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Application_Resource

  • ZendX_JQuery

Related issues: Attachments: - ZF-10254.patch


This bug is kinda related to this issue:

When you disable jQuery UI the basic library jQuery is also disabled. This is because in ZendX/JQuery/View/Helper/JQuery/Container.php the variable $_enabled is set to false. Reason that jQuery library appears when UI is enabled is in method uiEnable (in the same file), because there is a call to $this->enable().


Posted by Christoph, René Pardon (renepardon) on 2010-11-01T10:57:39.000+0000

Hi Sandi,

can you show us your implementation?

The Following code seems to work properly: ```

Everything does work as expected. (ZF1.11) You may want to upgrade to the newest version.

Posted by Ramon Henrique Ornelas (ramon) on 2010-11-14T07:37:42.000+0000

Hi [~renepardon]

[~sverde1] is if refered the ZendX_Application_Resource_Jquery.

Posted by Ramon Henrique Ornelas (ramon) on 2010-11-14T09:33:06.000+0000

Attached that have break BC. But no sense if not was enabled Jquery UI, the plugin resource not should have this behavior of enabled Jquery UI per default. Already that in ZendX_Jquery the Jquery UI is disabled per default.

Posted by Sandi Verdev (sverde1) on 2010-11-17T11:30:08.000+0000


I checked again in new version of ZF (1.11.0) and it still doesn't work. As Ramon Henrique Ornelas said I am talking about jQuery Resource.

Posted by Joachim (kaufmajo) on 2010-12-14T00:13:18.000+0000

I can confirm that this is not working in Version 1.11.1 too.

Posted by Joachim (kaufmajo) on 2010-12-14T00:17:28.000+0000

sorry, i commented on the wrong issue... please ignore my former comment

Posted by Ramon Henrique Ornelas (ramon) on 2011-02-18T07:08:13.000+0000

Fixed in trunk r23720 merged to branch release 1.11 r23721.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.