• Using Version 4.0.10
    Console:
    ReferenceError: ratingPermissions is not defined[Learn More] admin.js:233:1
    /plugins/wp-review/assets/js/admin.js:233:1

    Please fix.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author MyThemeShop

    (@mythemeshop)

    Hello,

    You can remove the following lines in assets/js/admin.js

    
    	$('[name=wp_review_userReview]').change(function(e){
    		var val = $(this).val();
    		var $type = $('#wp_review_comment_rating_type');
    		if(ratingPermissions.commentOnly === val || ratingPermissions.both === val){
    			$type.show();
    		} else {
    			$type.hide();
    		}
    	});
    

    It seems to be unused. We’ll have this removed in the upcoming version.

    Thank you

    Thread Starter QuantumCloud

    (@quantumcloud)

    Thanks. That solved the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disables all Buttons in editor Text Mode’ is closed to new replies.