п
This commit is contained in:
@ -609,7 +609,6 @@ class EdtRec
|
|||||||
}else
|
}else
|
||||||
if(vt=="blob" || vt=="file")
|
if(vt=="blob" || vt=="file")
|
||||||
{
|
{
|
||||||
//ifr=createIFrame("prop_"+this.uid+"_"+nodeProp.getAttribute("n")+'_frm', ScriptUName, td2, false); //IFrame to send the file to the server.
|
|
||||||
let ifr=createIFrame("prop_"+this.uid+"_"+nodeProp.getAttribute("n")+'_frm', ScriptUName+"?fn=9", td2, false); //IFrame to send the file to the server.
|
let ifr=createIFrame("prop_"+this.uid+"_"+nodeProp.getAttribute("n")+'_frm', ScriptUName+"?fn=9", td2, false); //IFrame to send the file to the server.
|
||||||
document.body.appendChild(ifr);
|
document.body.appendChild(ifr);
|
||||||
|
|
||||||
|
|||||||
@ -44,6 +44,14 @@ Date.prototype.toTimeString = function ()
|
|||||||
str+=('0'+this.getHours()).slice(-2)+":"+('0'+this.getMinutes()).slice(-2)+":"+('0'+this.getSeconds()).slice(-2);
|
str+=('0'+this.getHours()).slice(-2)+":"+('0'+this.getMinutes()).slice(-2)+":"+('0'+this.getSeconds()).slice(-2);
|
||||||
return str;
|
return str;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Date.prototype.toDateString = function (){
|
||||||
|
let d = this.getDate();
|
||||||
|
let m = this.getMonth() + 1; //Month from 0 to 11
|
||||||
|
let y = this.getFullYear();
|
||||||
|
return '' + y + '-' + (m<=9 ? '0' + m : m) + '-' + (d <= 9 ? '0' + d : d);
|
||||||
|
}
|
||||||
|
|
||||||
//Расширяем класс строки для удаления HTML тегов
|
//Расширяем класс строки для удаления HTML тегов
|
||||||
String.prototype.stripTags = function() {
|
String.prototype.stripTags = function() {
|
||||||
return this.replace(/<\/?[^>]+>/g, '');
|
return this.replace(/<\/?[^>]+>/g, '');
|
||||||
@ -426,7 +434,7 @@ function fixPNG(element)
|
|||||||
if (src) element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
|
if (src) element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// получить окно по тегу
|
// Получить из iframe его document
|
||||||
function getIframeDocument(iframeNode)
|
function getIframeDocument(iframeNode)
|
||||||
{
|
{
|
||||||
if (iframeNode.contentDocument) return iframeNode.contentDocument;
|
if (iframeNode.contentDocument) return iframeNode.contentDocument;
|
||||||
|
|||||||
10222
metadata/jquery.js
vendored
10222
metadata/jquery.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user