Sunday, June 30, 2013

RE: Cake or IE9?

The request is being sent / response via regular ajax view. It works in all browsers using this approach except IE9.

I check Firebug Lite in IE and the same request gets sent but it never returns anything it just sits there with the little spinner in FB lite.

So that’s why I am wondering if it’s a cake / ie9 issue or just an issue with my JS script.

 

       /************************************************************

       * VIEW METHOD

       * ***********************************************************

       *

       *

       *

       *

       ************************************************************/

       public function view($slug = null) {

             

              $portfolio = $this->Portfolio->getPortfolioBySlug($slug);

             

              $this->set('portfolio', $portfolio);

              $this->set('neighbors', $this->Portfolio->getNeighbors($portfolio['Portfolio']['order']));

             

              if ($this->request->is('ajax')) {

                     $this->_ajaxSetup(); //prepare for ajax request no render, set debug 0

                     $response = array(

                     'html' => $this->render('view', 'ajax')->body(),

                     'slide' => $portfolio['Thumb']['0']['slide']);

                     $this->_ajaxReturn($response); //returns the json array / response

              }

             

       }

 

From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of AD7six
Sent: Sunday, June 30, 2013 9:10 AM
To: cake-php@googlegroups.com
Subject: Re: Cake or IE9?

 



On Sunday, 30 June 2013 05:41:36 UTC+2, advantage+ wrote:

Not sure if this is a Cake issue or just stupid IE.

 

I have a small snip of js code that works in all browsers except IE9.

 

There's no CakePHP in your question.

 

AD

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate