⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Jquery 1.9.1



bianconeri

bianconeri
  • profile picture
  • Member

Posted 05 July 2013 - 20:40 PM

Guys, 

 

I'm load a library http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js.

When I try add, edit or delete, the messagem apper at windows, like examples:

 

{"success":true}

 

or

 

{"success":true,"insert_primary_key":true,"success_message":"<p>data update <a href='http:\/\/localhost\/projetos\/cms_wisedesign\/core\/conteudo'>Back to List<\/a><\/p>","success_list_url":"http:\/\/localhost\/\/project\/my\/success\/1"}

 

How I fix this conflict?

 


davidoster

davidoster
  • profile picture
  • Member

Posted 05 July 2013 - 20:45 PM

If I am not mistaken the latest stable version of Grocery CRUD (that is 1.3.3) uses jQuery 1.8.2.

If the jQuery version is changed then you should expect this odd behaviour!

So, you are not adviced to upgrade the jQuery version that comes with this library.


goFrendiAsgard

goFrendiAsgard
  • profile picture
  • Member

Posted 05 July 2013 - 23:47 PM

davidoster might be right.

 

However, have you try to unset grocery_crud's jquery like this: http://www.grocerycrud.com/documentation/options_functions/unset_jquery


bianconeri

bianconeri
  • profile picture
  • Member

Posted 06 July 2013 - 04:02 AM

Guys, 

 

I updated my code to jquery 1.8.2. I was using the jquery 1.9.1 at my menus.

But the same bugs happen with the library http://maps.google.com/maps/api/js?sensor=true


davidoster

davidoster
  • profile picture
  • Member

Posted 06 July 2013 - 05:01 AM

We can't really help you any firther unless you share your code.

No guessing here!

 

You can also try with a fresh install of CI & GC and take it from there.


bianconeri

bianconeri
  • profile picture
  • Member

Posted 06 July 2013 - 05:53 AM

I just add a library maps.google at views demos


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 06 July 2013 - 06:10 AM

@bianconeri - if i can add to the conversation, what i can suggest you is to use the jquery 1.9.1 only @the view script and not globally. That should solve your issue.


bianconeri

bianconeri
  • profile picture
  • Member

Posted 06 July 2013 - 14:29 PM

Thanks for help Amit.

My menu's fix at jquery 1.9.1

 

But, my problem with a librari maps.google continue.


kenshicu

kenshicu
  • profile picture
  • Member

Posted 02 August 2013 - 14:24 PM

maybe adding the jQuery Migrate plugin, solve your issue.