diff --git a/AlphalandUtilityJsSource.js b/AlphalandUtilityJsSource.js index 876242c..f68e1b0 100644 --- a/AlphalandUtilityJsSource.js +++ b/AlphalandUtilityJsSource.js @@ -54,7 +54,7 @@ function parseHtml(html, limit, object, message, singleObject=false) { buffer = buffer.replace(marker, window[marker.substring(1, marker.length - 1)](objectData)); //replace the marker with the data returned from the call } catch (error) { - //do nothing + console.log('[functionCall] Something went wrong.') } } break; diff --git a/globals/config.php b/globals/config.php index de1e7a6..66ee142 100644 --- a/globals/config.php +++ b/globals/config.php @@ -31,7 +31,7 @@ try $pdo = new PDO("mysql:host=localhost;dbname=alphalanddatabase", "aa9205c5b776b2368833bec1e8b34e1c", "68adae776e087fb1b34baf439710cf94", $pdoOptions); //general vars - $jsversion = "3.07"; //update this after updating JS, this will re-cache the latest js for users + $jsversion = "3.08"; //update this after updating JS, this will re-cache the latest js for users $cssversion = "3.02"; //update this after updating CSS, this will re-cache the latest css for users $siteName = "Alphaland"; //site name diff --git a/html/alphaland/js/utilities.js b/html/alphaland/js/utilities.js index 23f7358..06db11f 100644 --- a/html/alphaland/js/utilities.js +++ b/html/alphaland/js/utilities.js @@ -1,6 +1,6 @@ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b'),$(c).html(b));getJSONCDS(a+"?limit="+h+"&page="+n+"&keyword="+k+l).done(function(g){$(c).html(parseHtml(f,h,g,e))})} function multiPageHelper(a,b,c,f,n,h,k,e,l,g,m,q){q=void 0===q?"":q;""!==f&&(f='
'),$(n).html(f));var d="";b&&b.constructor===Array&&(d=parseArrayArgs(b));$(h).html("");getJSONCDS(c+"?limit="+l+"&page="+e+"&keyword="+g+q).done(function(r){var t=!1,u="",p=r.pageCount,y=r.pageResults,w=e+1,v=e-1;var x=e+3;w>p&&(w=p);0==v&&(v=1);1p?(t=1,x=p):v==e-1?(t=e>=p-2?p-3:e-1,--x):t=e;u+='';u+='';for(i=t;i<=x;i++)i<=p&&(u+='");u+='';u+=''}$(n).html(parseHtml(k,