AnanthaKN / jquery-in-place-editor

Automatically exported from code.google.com/p/jquery-in-place-editor
Other
0 stars 0 forks source link

IE7 and IE8 does not submit to server #77

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In IE7 and IE8, after editing, when click save, there is no submit to 
server.  (There are lots of javascript errors when I turn "Stop on Error" on in 
IE development Tool.)
2. What is weird is that if I put a break point on line
483   $.ajax({
inside of handleSubmitToServer, then it does submit to server.
3.

What is the expected output? What do you see instead?
Input test does not get submitted to server.

What version of the product are you using? On what operating system?
2.2.0

Please provide any additional information below.

Original issue reported on code.google.com by qhua.z...@gmail.com on 10 Nov 2010 at 11:08

GoogleCodeExporter commented 8 years ago
Problem solved by commenting out animate inside of function startSavingAnimation

Original comment by qhua.z...@gmail.com on 10 Nov 2010 at 9:23

GoogleCodeExporter commented 8 years ago
For the next version, you might consider add the 'disabled' value to the 
saving_animation_color option, and then use 

startSavingAnimation: function() {
        var that = this;
        if (this.settings.saving_animation_color != 'disabled')
        {
            this.dom
                .animate({ backgroundColor: this.settings.saving_animation_color }, 400)
                .animate({ backgroundColor: 'transparent'}, 400, 'swing', function(){
                    setTimeout(function(){ that.startSavingAnimation(); }, 10);
                });
        }
    },

Original comment by louis.gr...@gmail.com on 16 Dec 2010 at 7:50

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I also ran into this problem and qhua.z's solution worked for me

Original comment by ccur...@gmail.com on 27 Apr 2011 at 6:35

GoogleCodeExporter commented 8 years ago
The problem is with not loaded jquery-ui. If you load that library all goes 
well (tested on ie8). So I would propose this code:

startSavingAnimation: function() {
    if($.ui!==undefined)
    {
        var that = this;
        this.dom
            .animate({backgroundColor: this.settings.saving_animation_color}, 400)
            .animate({backgroundColor: 'transparent'}, 400, 'swing', function(){
                setTimeout(function(){that.startSavingAnimation();}, 10);
            });
    }
},

Original comment by theres.n...@gmail.com on 9 May 2011 at 1:33

GoogleCodeExporter commented 8 years ago
fix by "theres.n...@gmail.com" worked for me. i was running into the same thing 
in IE6 and 7

Original comment by tatorf...@gmail.com on 25 May 2011 at 8:10

GoogleCodeExporter commented 8 years ago
Thanks theres.n

Original comment by gau...@techtinium.com on 21 Jun 2011 at 4:35