| Server IP : 133.18.244.157 / Your IP : 216.73.217.20 Web Server : Apache System : Linux o4022v-135.kagoya.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : main2 ( 81069) PHP Version : 5.6.34 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /install/web_root/html/js/component/ |
Upload File : |
mw.base.namespace('mw.richtext');
(function() {
var ns = mw.richtext;
ns.showExternalContents = function(link, data, container) {
$container = $('#' + container);
$(link).hide();
$.ajax({
type: "POST",
url: mw.SERVER,
data: data,
dataType: "text",
success: function(data, status, xhr) {
if (mw.isErrorResponse(xhr)) {
mw.showErrorResponse(xhr);
$(link).show();
return;
}
$container.html(data);
},
error: function(xhr, status, error) {
mw.showErrorResponse(xhr);
$(link).show();
}
});
};
})();