WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: kk Star Ratings] Explorer error

[Resolved] [Plugin: kk Star Ratings] Explorer error

  • Hi Kamal,

    Thank you a lot for updating the plugin it’s exactly what I was needed.
    The only issue is bloody explorer.

    It doesn’t work there no yellow stars, it looks grey/whitey.
    the explorer show an error at char:7, line:136 at the file js.js

    Do you have any idea what can I do?

    One more strange thing:
    when I open the developer tool (f12) in explorer and unchecked the css Attributes and refresh again the browser, it worked.
    First time I bumped something like that.

    Cheers,
    Eitay

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kamal Khan

    @bhittani

    Thanks for pointing that out. How could I miss that. It was a console.log command which is unknown to IE.

    Will be leading to a fix in the next version. Basically just removing that console.log statement.

    Hi Kamal,

    Thank you for replay.
    I tried to comment out the console.log but the plugin got crazy and didn’t work so well.

    This is what I did at js.js file line 136:

    error: function(e){
    					//	console.log(e);
    						$('.kksr-legend', obj).fadeOut('fast', function(){
    							$('.kksr-legend', obj).html('<span style="color: red">'+kksr_settings.error_msg+'</span>');
    						}).fadeIn('slow', function(){
    							kksr_update(obj, fallback_fuel, fallback_legend, false);
    						});
    					}
    				});
    			}
    Plugin Author Kamal Khan

    @bhittani

    Please remove the line entirely as this was only for debugging while i was developing.

    Also what do you mean by going crazy?

    Hi,

    I removed the hole line (136), but now I get (only in explorer) a few strings one after one and the stars doesn’t colored at yellow nor rating average show up.

    The code looks like that:

    error: function(e){
    						$('.kksr-legend', obj).fadeOut('fast', function(){
    							$('.kksr-legend', obj).html('<span style="color: red">'+kksr_settings.error_msg+'</span>');
    						}).fadeIn('slow', function(){
    							kksr_update(obj, fallback_fuel, fallback_legend, false);
    						});
    					}
    				});
    			}

    I looked at fiddler and debugger and it looks strange only when I use in explorer. It seems that the request to the ajax file in wp-admin is not proper.

    But I might wrong 🙂

    Cheers,

    having issues with kk star rating, it seems to be greyout and cant click on the stars at all, can you suggest what the problem maybe?
    http://saltlampsaustralia.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: kk Star Ratings] Explorer error’ is closed to new replies.