Yii Framework Forum: Ajax & Renderpartial Duplicate Scripts - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Ajax & Renderpartial Duplicate Scripts

#1 User is offline   alex-w 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 229
  • Joined: 25-November 10

Posted 06 November 2013 - 07:11 AM

Is this still an issue in Yii2?
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,831
  • Joined: 17-January 09
  • Location:Russia

Posted 06 November 2013 - 08:59 AM

It's still not automatically handled.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#3 User is offline   CeBe 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 538
  • Joined: 16-July 10
  • Location:Berlin. Germany

Posted 06 November 2013 - 09:24 AM

Well it depends on what exactly the issue is.
Imo it is easier to handle scripts that are added to the view in yii2.
0

#4 User is offline   alex-w 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 229
  • Joined: 25-November 10

Posted 06 November 2013 - 09:27 AM

I made a small ajax prefilter that may help.
https://github.com/y.../yii2/pull/1149

Would stop jQuery from fetching and running any script files that have already been loaded.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users