WordPress.org

Ready to get started?Download WordPress

Forums

kk Star Ratings
[resolved] Explorer error (6 posts)

  1. eitayz
    Member
    Posted 1 year ago #

    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

  2. Kamal Khan
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. eitayz
    Member
    Posted 1 year ago #

    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);
    						});
    					}
    				});
    			}
  4. Kamal Khan
    Member
    Plugin Author

    Posted 1 year ago #

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

    Also what do you mean by going crazy?

  5. eitayz
    Member
    Posted 1 year ago #

    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,

  6. absolutebb
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic