File Manager
/**
* @namespace WPGMZA
* @module FriendlyError
* @requires WPGMZA
*/
jQuery(function($) {
/**
* Deprecated
* @class WPGMZA.FriendlyError
* @constructor WPGMZA.FriendlyError
* @memberof WPGMZA
* @deprecated
*/
WPGMZA.FriendlyError = function()
{
}
/*var template = '\
<div class="notice notice-error"> \
<p> \
' + WPGMZA.localized_strings.friendly_error + ' \
</p> \
<pre style="white-space: pre-line;"></pre> \
<div> \
';
WPGMZA.FriendlyError = function(nativeError)
{
if(!WPGMZA.is_admin)
{
this.element = $(WPGMZA.preloaderHTML);
$(this.element).removeClass("animated");
return;
}
$("#wpgmza-map-edit-page>.wpgmza-preloader").remove();
this.element = $(template);
this.element.find("pre").html(nativeError.message + "\r\n" + nativeError.stack + "\r\n\r\n on " + window.location.href);
}*/
});
File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com