Problem where there is more than one textarea on Firefox
Posted 23 March 2012 - 10:22 AM
This is my first post, but I use Grocery Crud from many months and I really love it!
But I have a problem (also with v1.2): on Firefox for OSX, if there are more than one Text field in the page add/edit, they all appear empty inside (even if in the database they are filled), and it's impossible to write inside them. This happen for every textarea, except for the last one. And it happens just on firefox for OSX: I've also tried on Safari, Chrome and Opera (always on OSX) and I don't have this problem.
Did I go wrong with something?
Thank you so much, please continue with this amazing work
Bye!
Posted 23 March 2012 - 19:33 PM
Did you try to update the version of tinymce editor? I think if you just copy-paste the folder at: assets/grocery_crud/texteditor/ it will be ok.
If this doesn't work just post as an attachement the printscreen of your situation. Also did you have any errors in your firebug?
Thanks
Posted 25 March 2012 - 15:03 PM
Here's some screenshots:
- Fields in the database (just look the first one for this example)
http://img718.images...456012alle1.png
- Fields in the form
http://img85.imagesh...456012alle1.png
- How they appear during tinymce script loading (or if I try to update tinymce that doesn't work):
http://img41.imagesh...456012alle1.png
(in index page they are all correctly shown)
The only errors about tinymce that web-console gives me are these (they are in italian, but It should be understandable):
[16:40:29.762] Errore durante l'interpretazione di 'filter'. Dichiarazione tralasciata. @ http://localhost/website/assets/grocery_crud/texteditor/plugins/inlinepopups/skins/clearlooks2/window.css:10
[16:40:29.765] Errore durante l'interpretazione di 'width'. Dichiarazione tralasciata. @ http://localhost/website/assets/grocery_crud/texteditor/plugins/inlinepopups/skins/clearlooks2/window.css:100
Anyway, if I check the html code with firebug, I can find the texts there, even if they are not showed in the form.
If it can help, when I try to update something, the fields that appear blank in the form, they don't became empty but they remain the same as before the page loading.
Posted 25 March 2012 - 23:25 PM
I just add it to issues to remind me that I have to fix it ( https://github.com/scoumbourdis/grocery-crud/issues/14 )
It's weird because it seems that it is an old bug and nobody have noticed it .
Thanks to mention it. I will try to fix it with a newer version of tinymce. I will inform you for any changes and of course for any updates.
Posted 26 March 2012 - 14:22 PM
I'd like also to ask you one thing: would be possibile in a future version of GC to permit to choose if a textarea must use tinymce or not?
Sometimes I need to insert short texts in a textarea but it's boring to have every time all that buttons.
Posted 26 March 2012 - 18:12 PM
Posted 26 March 2012 - 18:29 PM
Posted 26 March 2012 - 21:52 PM
Ok, thank you so much, I really hope you'll fix it!
I'd like also to ask you one thing: would be possibile in a future version of GC to permit to choose if a textarea must use tinymce or not?
Sometimes I need to insert short texts in a textarea but it's boring to have every time all that buttons.
[/quote]
This is already done is the unset_texteditor . For example:
$crud->unset_texteditor('full_text','description');
Posted 26 March 2012 - 22:37 PM
[quote]I updated my tinymce and it works[/quote]
How did you updated it exactly? I've tried to rename the directory "tiny_mce" (that I found inside the last version) in "texteditor" to replace the old one, but now tinymce doesn't work anymore. Do you know where I could go wrong?
Thanks again.
Posted 26 March 2012 - 23:17 PM
Posted 27 March 2012 - 08:44 AM
Posted 13 April 2012 - 06:24 AM
I would also like to add that to my conclusion .... Those attachments show what happens on ie8 with ietester, which is fairly good for testing ie
Posted 14 April 2012 - 10:41 AM
However in firefox it works well for me, but again I will have a second look at this kind of problem.
Posted 14 April 2012 - 14:08 PM
P.S. As for IE8 - is it realy need to make fixes?! Who do use it? If anyone browse with IE they used to get bugs, always.
It's my own opinion.
Posted 14 April 2012 - 14:16 PM
Posted 14 April 2012 - 15:51 PM
Posted 15 April 2012 - 04:54 AM
Posted 16 April 2012 - 20:36 PM
I also like Chrome and I also can't persuade someone to use it or use Firefox instead of IE, although I always say about it. Whatever everyone uses what he likes. I also try to make things without errors and bugs, but I realize that I can't make it for all browsers and its versions. Thats why for myself I stopped on last versions.
Posted 16 April 2012 - 21:08 PM
I tested at: safari,chrome,mozilla,IE 9, opera, both at ubuntu system and windows and also at my mobile and it works for: the default browser of android, dolphin browser, opera browser and Mozilla browser. And I am sure that it works well on tablets and iphone too. The only browser that doesn't work properly is IE 8 (I am not testing in IE 7 anymore as there is only a [color=#000000][font=verdana, helvetica, arial, sans-serif][size=3]2.5% of users that they are using it[/size][/font][/color]). If you find any bug fix for this it will be appreciated.
P.S. Just a personal experience, I tried everything to convince customers to NOT use internet explorer and nothing works. I even said that perhaps the data will not save correctly in database and still. The only thing that I am saying now and it works almost for everyone is that an older IE can bring you lot of viruses in your PC as it is not safe (that it is true but not the way that I am saying it ), so if you want a safe computer.... update your browser or download chrome (I use Mozilla but Chrome has faster install )
Posted 17 April 2012 - 05:06 AM
var variableName;the problem is i'm not good with jquery and i'm using netbeans - and most of the js's are minified which is hard to read and edit, and i'm not sure how to "unminify" them.