diff --git a/application/views/Favourite.php b/application/views/Favourite.php index 7d913f4b..6cfa9e04 100755 --- a/application/views/Favourite.php +++ b/application/views/Favourite.php @@ -1129,7 +1129,7 @@ var js_array = []; // var Menu_URL="#"+value.Menu_URL; // console.log(Menu_URL); var span = document.getElementById(value.Menu_URL).getElementsByTagName("span"); - console.log(span); + // console.log(span); $(span).toggleClass("glyphicon-star glyphicon-star-empty"); } @@ -1163,6 +1163,7 @@ function save(url,name){ // alert(count++); count = parseInt(count)+1; //alert(count); + window.location.reload(); if(count <= 7){ $.ajax({ type:'post', @@ -1184,6 +1185,7 @@ function save(url,name){ //console.log(span[0].className); //alert("else"); count = parseInt(count)-1; + window.location.reload(); // count--; //alert("else"+count); var id = url+"1";