rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
html.push('</head><body onload="printPage();" style="' + opts.printBodyOptions.styleToAdd + '" class="' + opts.printBodyOptions.classNameToAdd + '">'); html.push('<div class="' + $elementToPrint.attr("class") + '">' + $elementToPrint.html() + '</div>'); html.push('<script type="text/javascript">function printPage() { f...
html.push('<base href="' + _getBaseHref() + '" />'); html.push('</head><body style="' + opts.printBodyOptions.styleToAdd + '" class="' + opts.printBodyOptions.classNameToAdd + '">'); html.push('<div class="' + $element.attr('class') + '">' + elementHtml + '</div>'); html.push('<script type="text/javascript">function pr...
function _getMarkup(element, opts) { var $elementToPrint = $(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS && opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.lengt...
html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS) { if (opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.length; x++) { var current = opts.overrideElementCSS[x]; if (typeof(current) == 'string')
html.push('<html><head><title>' + opts["pageTitle"] + '</title>'); if (opts["overrideElementCSS"]) { if (opts["overrideElementCSS"].length > 0) { for (var x = 0; x < opts["overrideElementCSS"].length; x++) { var current = opts["overrideElementCSS"][x]; if (typeof (current) == 'string')
function _getMarkup(element, opts){ var $element = $(element); var elementHtml = _getElementHTMLIncludingFormElements(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS) { if (opts.overri...
else html.push('<link type="text/css" rel="stylesheet" href="' + current.href + '" media="' + current.media + '" >');
else html.push('<link type="text/css" rel="stylesheet" href="' + current["href"] + '" media="' + current["media"] + '" >');
function _getMarkup(element, opts){ var $element = $(element); var elementHtml = _getElementHTMLIncludingFormElements(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS) { if (opts.overri...
$(document).find("link").filter(function(){
$("link", document).filter(function () {
function _getMarkup(element, opts){ var $element = $(element); var elementHtml = _getElementHTMLIncludingFormElements(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS) { if (opts.overri...
html.push('</head><body style="' + opts.printBodyOptions.styleToAdd + '" class="' + opts.printBodyOptions.classNameToAdd + '">');
html.push('</head><body style="' + opts["printBodyOptions"]["styleToAdd"] + '" class="' + opts["printBodyOptions"]["classNameToAdd"] + '">');
function _getMarkup(element, opts){ var $element = $(element); var elementHtml = _getElementHTMLIncludingFormElements(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS) { if (opts.overri...
html.push('<script type="text/javascript">function printPage(){focus();print();' + ((!$.browser.opera && !opts.leaveOpen && opts.printMode.toLowerCase() == 'popup') ? 'close();' : '') + '}</script>');
html.push('<script type="text/javascript">function printPage(){focus();print();' + ((!$.browser.opera && !opts["leaveOpen"] && opts["printMode"].toLowerCase() == 'popup') ? 'close();' : '') + '}</script>');
function _getMarkup(element, opts){ var $element = $(element); var elementHtml = _getElementHTMLIncludingFormElements(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS) { if (opts.overri...
}; function _getMarkup(element, opts) { var $elementToPrint = $(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS && opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.length; x++) { html.push('<link type="text/cs...
function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op...
}; function _getMarkup(element, opts) { var $elementToPrint = $(element); var html = new Array(); html.push('<html><head><title>' + opts.pageTitle + '</title>'); if (opts.overrideElementCSS && opts.overrideElementCSS.length > 0) { for (var x = 0; x < opts.overrideElementCSS.length; x++) { html.push('<link ty...
for (i=0; i<numTypes; i++){
for (i=0; i<numTypes; i += 1){
function _getRowSchema(xmlDoc){ var types = _getElementsByTagNameNS(xmlDoc, _xmlnsSchema, _xmlnsSchemaPrefix, "complexType"), numTypes = types.length, type, i; for (i=0; i<numTypes; i++){ type = types.item(i); if (type.getAttribute("name")==="row"){ return type; ...
else if(a.textContent)return a.textContent;else{var b="";a=a.childNodes;for(var d=a.length,c=0;c<d;c++)b+=a.item(c).data;return b}},_getValueConverter:function(a){var b={};switch(a){case "xsd:boolean":b.func=this._boolConverter;b.jsType="boolean";break;case "xsd:decimal":case "xsd:double":case "xsd:float":b.func=this._...
else if(a.textContent)return a.textContent;else{var b="";a=a.childNodes;for(var d=a.length,c=0;c<d;c+=1)b+=a.item(c).data;return b}},_getValueConverter:function(a){var b={};switch(a){case "xsd:boolean":b.func=this._boolConverter;b.jsType="boolean";break;case "xsd:decimal":case "xsd:double":case "xsd:float":b.func=this....
else if(a.textContent)return a.textContent;else{var b="";a=a.childNodes;for(var d=a.length,c=0;c<d;c++)b+=a.item(c).data;return b}},_getValueConverter:function(a){var b={};switch(a){case "xsd:boolean":b.func=this._boolConverter;b.jsType="boolean";break;case "xsd:decimal":case "xsd:double":case "xsd:float":b.func=this._...
var msg = "\n" + indent + "<" + container + ">";
var numItems, i, entry, property, item, msg = "\n" + indent + "<" + container + ">";
function _getXmlaSoapList(container, listType, items, indent){ if (!indent){ indent = ""; } var msg = "\n" + indent + "<" + container + ">"; if (items) { var item; msg += "\n" + indent + " <" + listType + ">"; for (var property in items){ if (items.hasOwnProperty(prope...
var item;
function _getXmlaSoapList(container, listType, items, indent){ if (!indent){ indent = ""; } var msg = "\n" + indent + "<" + container + ">"; if (items) { var item; msg += "\n" + indent + " <" + listType + ">"; for (var property in items){ if (items.hasOwnProperty(prope...
for (var property in items){
for (property in items){
function _getXmlaSoapList(container, listType, items, indent){ if (!indent){ indent = ""; } var msg = "\n" + indent + "<" + container + ">"; if (items) { var item; msg += "\n" + indent + " <" + listType + ">"; for (var property in items){ if (items.hasOwnProperty(prope...
for (var entry, i=0, numItems = item.length; i<numItems; i++){
for (entry, i=0, numItems = item.length; i<numItems; i += 1){
function _getXmlaSoapList(container, listType, items, indent){ if (!indent){ indent = ""; } var msg = "\n" + indent + "<" + container + ">"; if (items) { var item; msg += "\n" + indent + " <" + listType + ">"; for (var property in items){ if (items.hasOwnProperty(prope...
var msg = ""; var method = options.method;
var msg = "", method = options.method, exception = null;
function _getXmlaSoapMessage( options){ var msg = ""; var method = options.method; msg += "\n<" + _xmlnsSOAPenvelopePrefix + ":Envelope " + _xmlnsIsSOAPenvelope + " " + _SOAPencodingStyle + ">" + "\n <" + _xmlnsSOAPenvelopePrefix + ":Body>" + "\n <" + method + " " + _xmlnsIsXmla + " " + _SOAPencodi...
var exception = null;
function _getXmlaSoapMessage( options){ var msg = ""; var method = options.method; msg += "\n<" + _xmlnsSOAPenvelopePrefix + ":Envelope " + _xmlnsIsSOAPenvelope + " " + _SOAPencodingStyle + ">" + "\n <" + _xmlnsSOAPenvelopePrefix + ":Body>" + "\n <" + method + " " + _xmlnsIsXmla + " " + _SOAPencodi...
let selection = window.content.getSelection();
let selection = Buffer.focusedWindow.getSelection();
_handleModeChange: function (oldMode, newMode, oldExtended) { switch (oldMode) { case modes.TEXTAREA: case modes.INSERT: editor.unselectText(); break; case modes.VISUAL: if (newMode == modes.CARET) { try { // clear any selection made; a sim...
}};})();}if(!a.editor){a.ELEMENT_MODE_NONE=0;a.ELEMENT_MODE_REPLACE=1;a.ELEMENT_MODE_APPENDTO=2;a.editor=function(b,c,d,e){var f=this;f._={instanceConfig:b,element:c,data:e};f.elementMode=d||0;a.event.call(f);f._init();};a.editor.replace=function(b,c){var d=b;if(typeof d!='object'){d=document.getElementById(b);if(!d){v...
return e&&e.listeners.length>0;}};})();}if(!a.editor){a.ELEMENT_MODE_NONE=0;a.ELEMENT_MODE_REPLACE=1;a.ELEMENT_MODE_APPENDTO=2;a.editor=function(b,c,d,e){var f=this;f._={instanceConfig:b,element:c,data:e};f.elementMode=d||0;a.event.call(f);f._init();};a.editor.replace=function(b,c){var d=b;if(typeof d!='object'){d=docu...
}};})();}if(!a.editor){a.ELEMENT_MODE_NONE=0;a.ELEMENT_MODE_REPLACE=1;a.ELEMENT_MODE_APPENDTO=2;a.editor=function(b,c,d,e){var f=this;f._={instanceConfig:b,element:c,data:e};f.elementMode=d||0;a.event.call(f);f._init();};a.editor.replace=function(b,c){var d=b;if(typeof d!='object'){d=document.getElementById(b);if(!d){v...
[];Xmla.Rowset.KEYS[Xmla.MDSCHEMA_PROPERTIES]=[];Xmla.Rowset.KEYS[Xmla.MDSCHEMA_SETS]=[];Xmla.Rowset.prototype={_type:null,rows:null,numRows:null,fieldOrder:null,fields:null,_fieldCount:null,_initData:function(a,b){this._type=b;this.numRows=(this.rows=m(a,r,null,"row"))?this.rows.length:0;this.reset();this.fieldOrder=[...
[];Xmla.Rowset.KEYS[Xmla.MDSCHEMA_PROPERTIES]=[];Xmla.Rowset.KEYS[Xmla.MDSCHEMA_SETS]=[];Xmla.Rowset.prototype={_type:null,rows:null,numRows:null,fieldOrder:null,fields:null,_fieldCount:null,_initData:function(a,b){this._type=b;this.numRows=(this.rows=o(a,s,null,"row"))?this.rows.length:0;this.reset();this.fieldOrder=[...
[];Xmla.Rowset.KEYS[Xmla.MDSCHEMA_PROPERTIES]=[];Xmla.Rowset.KEYS[Xmla.MDSCHEMA_SETS]=[];Xmla.Rowset.prototype={_type:null,rows:null,numRows:null,fieldOrder:null,fields:null,_fieldCount:null,_initData:function(a,b){this._type=b;this.numRows=(this.rows=m(a,r,null,"row"))?this.rows.length:0;this.reset();this.fieldOrder=[...
a(),p=history.length;G&&clearInterval(G);G=setInterval(function(){var r,y;r=a();y=history.length;if(r!==l){l=r;p=y;e(l);b()}else if(y!==p&&u){l=r;p=y;r=M[p-1];e(r);b()}},50)}}function K(){var l;l=F.value.split("|");if(l.length>1){L=l[0];E=l[1]}if(l.length>2)M=l[2].split(",");if(q)i();else{n();I=true;x!=null&&x()}}var u...
0);else w=l},_initialize:function(){E!=null&&J()},_initTimeout:function(){n()},register:function(l,p){if(!H){D=K=escape(l);M=p}},initialize:function(l,p){if(!H){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")C=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple C...
a(),p=history.length;G&&clearInterval(G);G=setInterval(function(){var r,y;r=a();y=history.length;if(r!==l){l=r;p=y;e(l);b()}else if(y!==p&&u){l=r;p=y;r=M[p-1];e(r);b()}},50)}}function K(){var l;l=F.value.split("|");if(l.length>1){L=l[0];E=l[1]}if(l.length>2)M=l[2].split(",");if(q)i();else{n();I=true;x!=null&&x()}}var u...
null&&K()},_initTimeout:function(){n()},register:function(l,p){if(!I){E=L=escape(l);N=p}},initialize:function(l,p){if(!I){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")D=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==...
0);else w=l},_initialize:function(){E!=null&&J()},_initTimeout:function(){n()},register:function(l,p){if(!H){D=K=escape(l);M=p}},initialize:function(l,p){if(!H){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")C=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple C...
null&&K()},_initTimeout:function(){n()},register:function(l,p){if(!I){E=L=escape(l);N=p}},initialize:function(l,p){if(!I){var r=navigator.vendor||"";if(r!=="KDE")if(typeof window.opera!=="undefined")D=true;else if(typeof document.all!=="undefined")q=true;else if(r.indexOf("Apple Computer, Inc.")>-1)u=true;if(typeof l==...
_keeFoxBrowserStartup: function(currentKFToolbar, currentWindow)
_keeFoxBrowserStartup: function()
_keeFoxBrowserStartup: function(currentKFToolbar, currentWindow) { this._KFLog.debug("Testing to see if KeeFox has already been setup (e.g. just a second ago by a different window scope)"); //TODO: confirm multi-threading setup. I assume firefox has // one event dispatcher thread so ...
this._KFLog.debug("Testing to see if KeeFox has already been setup (e.g. just a second ago by a different window scope)");
_keeFoxBrowserStartup: function(currentKFToolbar, currentWindow) { this._KFLog.debug("Testing to see if KeeFox has already been setup (e.g. just a second ago by a different window scope)"); //TODO: confirm multi-threading setup. I assume firefox has // one event dispatcher thread so ...
if (this._keeFoxStorage.get("KeePassRPCActive", false)) { this._KFLog.debug("Setup has already been done but we will make sure that the window that this scope is a part of has been set up to properly reflect KeeFox status"); currentKFToolbar.setupButton_ready(currentWindow); currentKFToolbar.setAllLogins(); currentWind...
_keeFoxBrowserStartup: function(currentKFToolbar, currentWindow) { this._KFLog.debug("Testing to see if KeeFox has already been setup (e.g. just a second ago by a different window scope)"); //TODO: confirm multi-threading setup. I assume firefox has // one event dispatcher thread so ...
this._keeFoxVariableInit(currentKFToolbar, currentWindow); this._keeFoxInitialToolBarSetup(currentKFToolbar, currentWindow);
this._keeFoxVariableInit();
_keeFoxBrowserStartup: function(currentKFToolbar, currentWindow) { this._KFLog.debug("Testing to see if KeeFox has already been setup (e.g. just a second ago by a different window scope)"); //TODO: confirm multi-threading setup. I assume firefox has // one event dispatcher thread so ...
_keeFoxVariableInit : function(currentKFToolbar, currentWindow)
_keeFoxVariableInit : function()
_keeFoxVariableInit : function(currentKFToolbar, currentWindow) { var KeePassEXEfound; var KeePassRPCfound; var keePassLocation; keePassLocation = "not installed"; var keePassRPCLocation; keePassRPCLocation = "not installed"; var keePassRem...
this._launchInstaller(currentKFToolbar,currentWindow);
this._launchInstaller();
_keeFoxVariableInit : function(currentKFToolbar, currentWindow) { var KeePassEXEfound; var KeePassRPCfound; var keePassLocation; keePassLocation = "not installed"; var keePassRPCLocation; keePassRPCLocation = "not installed"; var keePassRem...
this._KFLog.debug("Setting up a button for user to launch installer (also make a massive one on page in future)"); currentKFToolbar.setupButton_install(currentWindow);
_launchInstaller: function(currentKFToolbar,currentWindow, upgrade) { if (this._installerTabLoaded) return; // only want to do this once per session to avoid irritation! this._installerTabLoaded = true; if (upgrade) { this._KFLog.info("KeeFox not ...
if (this.methodFile) this._logToFile(message+"\n"); if (this.methodStdOut) dump(message+"\n"); if (this.methodConsole) this._logService.logStringMessage(message); if (this.methodAlert) this._alert(message);
try { var pbs = Components.classes["@mozilla.org/privatebrowsing;1"] .getService(Components.interfaces.nsIPrivateBrowsingService); if (pbs.privateBrowsingEnabled) return; } catch (nothing) { } try { if (this.methodFile) this._logToFile(message+"\n"); if (this.methodStdOut) dump(message+"\n"); if (this.methodConsole) ...
_log : function (message) { if (this.methodFile) this._logToFile(message+"\n"); if (this.methodStdOut) dump(message+"\n"); if (this.methodConsole) this._logService.logStringMessage(message); if (this.methodAlert) this._alert(message); },
} catch (nothing) { } try {
_log : function (message) { // Don't log anything if user is in private browsing mode, just in case! try { var pbs = Components.classes["@mozilla.org/privatebrowsing;1"] .getService(Components.interfaces.nsIPrivateBrowsingService); if (pbs.privateBrowsingEnab...
var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); var MY_ID = "keefox@chris.tomlinson"; var em = Components.classes["@mozilla.org/extensions/manager;1"]. getService(Components.interfaces.nsIExtensionManager); var dir = em.getInstallLocation(MY_ID).getItemLo...
_logToFile : function(msg) { var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); var MY_ID = "keefox@chris.tomlinson"; var em = Components.classes["@mozilla.org/extensions/manager;1"]. getService(Component...
var MY_ID = "keefox@chris.tomlinson"; var em = Components.classes["@mozilla.org/extensions/manager;1"]. getService(Components.interfaces.nsIExtensionManager); var dir = em.getInstallLocation(MY_ID).getItemLocation(MY_ID); file.initWithPath(dir.path); file.append("log.txt");
_logToFile : function(msg) { //this._logService.logStringMessage("logginga"); var foStream = Components.classes["@mozilla.org/network/file-output-stream;1"]. createInstance(Components.interfaces.nsIFileOutputStream);var MY_ID = "keefox@chris.tomlinson"; var em...
foStream.init(file, 0x02 | 0x08 | 0x10, 0666, 0);
foStream.init(this._logFile, 0x02 | 0x08 | 0x10, 0666, 0);
_logToFile : function(msg) { //this._logService.logStringMessage("logginga"); var foStream = Components.classes["@mozilla.org/network/file-output-stream;1"]. createInstance(Components.interfaces.nsIFileOutputStream);var MY_ID = "keefox@chris.tomlinson"; var em...
var MY_ID = "keefox@chris.tomlinson"; var em = Components.classes["@mozilla.org/extensions/manager;1"]. getService(Components.interfaces.nsIExtensionManager); var dir = em.getInstallLocation(MY_ID).getItemLocation(MY_ID);
var directoryService = Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties); var dir = directoryService.get("ProfD", Components.interfaces.nsIFile); dir.append("extensions"); dir.append("keefox@chris.tomlinson");
_myInstalledDir: function() { this._KFLog.debug("establishing the directory that KeeFox is installed in"); var MY_ID = "keefox@chris.tomlinson"; var em = Components.classes["@mozilla.org/extensions/manager;1"]. getService(Components.interfaces.nsIExtensionManager); // the ...
"_"+Xmla.Exception.ERROR_PARSING_RESPONSE_MSG;Xmla.Exception.INVALID_FIELD_CDE=-9;Xmla.Exception.INVALID_FIELD_MSG="Invalid_Field";Xmla.Exception.INVALID_FIELD_HLP=l+"#"+Xmla.Exception.INVALID_FIELD_CDE+"_"+Xmla.Exception.INVALID_FIELD_MSG;Xmla.Exception.HTTP_ERROR_CDE=-10;Xmla.Exception.HTTP_ERROR_MSG="HTTP Error";Xml...
"_"+Xmla.Exception.ERROR_PARSING_RESPONSE_MSG;Xmla.Exception.INVALID_FIELD_CDE=-9;Xmla.Exception.INVALID_FIELD_MSG="Invalid_Field";Xmla.Exception.INVALID_FIELD_HLP=m+"#"+Xmla.Exception.INVALID_FIELD_CDE+"_"+Xmla.Exception.INVALID_FIELD_MSG;Xmla.Exception.HTTP_ERROR_CDE=-10;Xmla.Exception.HTTP_ERROR_MSG="HTTP Error";Xml...
"_"+Xmla.Exception.ERROR_PARSING_RESPONSE_MSG;Xmla.Exception.INVALID_FIELD_CDE=-9;Xmla.Exception.INVALID_FIELD_MSG="Invalid_Field";Xmla.Exception.INVALID_FIELD_HLP=l+"#"+Xmla.Exception.INVALID_FIELD_CDE+"_"+Xmla.Exception.INVALID_FIELD_MSG;Xmla.Exception.HTTP_ERROR_CDE=-10;Xmla.Exception.HTTP_ERROR_MSG="HTTP Error";Xml...
event.target.ownerDocument.defaultView.keefox_org.toolbar.setLogins(null, null); event.target.ownerDocument.defaultView.keefox_org.ILM._fillAllFrames(event.target.contentWindow,false);
event.target.ownerDocument.defaultView.keefox_org.Logger.debug("_onTabSelected:" + event.target.ownerDocument.defaultView.keefox_org.ILM._loadingKeeFoxLogin); if (event.target.ownerDocument.defaultView.keefox_org.ILM._loadingKeeFoxLogin != undefined && event.target.ownerDocument.defaultView.keefox_org.ILM._loadingKeeFo...
_onTabSelected: function(event) { event.target.ownerDocument.defaultView.keefox_org.toolbar.setLogins(null, null); event.target.ownerDocument.defaultView.keefox_org.ILM._fillAllFrames(event.target.contentWindow,false); },
_onTabSelected: function(event) { event.target.ownerDocument.defaultView.keefox_org.Logger.debug("_onTabSelected:" + event.target.ownerDocument.defaultView.keefox_org.ILM._loadingKeeFoxLogin);
_onTabSelected: function(event) { if (event.target.ownerDocument.defaultView.keefox_org.Logger.logSensitiveData) event.target.ownerDocument.defaultView.keefox_org.Logger.debug("_onTabSelected:" + event.target.ownerDocument.defaultView.keefox_org.ILM._loadingKeeFoxLogin); else event.target.ownerDocument.defaultView.keef...
_onTabSelected: function(event) { event.target.ownerDocument.defaultView.keefox_org.Logger.debug("_onTabSelected:" + event.target.ownerDocument.defaultView.keefox_org.ILM._loadingKeeFoxLogin); if (event.target.ownerDocument.defaultView.keefox_org.ILM._loadingKeeFoxLogin != undefined && event.ta...
event.target.ownerDocument.defaultView.keefox_org.ILM._fillAllFrames(event.target.contentWindow,false);
event.target.ownerDocument.defaultView.keefox_org.ILM._fillAllFrames(event.target.linkedBrowser.contentWindow,false);
_onTabSelected: function(event) { if (event.target.ownerDocument.defaultView.keefox_org.Logger.logSensitiveData) event.target.ownerDocument.defaultView.keefox_org.Logger.debug("_onTabSelected:" + event.target.ownerDocument.defaultView.keefox_org.ILM._loadingKeeFoxLogin); else ...
found = false;
var found = false; var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components.interfaces.nsIWindowMediator);
_openAndReuseOneTabPerURL: function(url) { if (this._KFLog.logSensitiveData) this._KFLog.debug("trying to find an already open tab with this url:" + url); else this._KFLog.debug("trying to find an already open tab with the requested url"); found = false; Applicat...
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] .getService(Components.interfaces.nsIWindowMediator);
_openAndReuseOneTabPerURL: function(url) { if (this._KFLog.logSensitiveData) this._KFLog.debug("trying to find an already open tab with this url:" + url); else this._KFLog.debug("trying to find an already open tab with the requested url"); found = false; Applicat...
try { var browserEnumerator = wm.getEnumerator("navigator:browser");
_openAndReuseOneTabPerURL: function(url) { if (this._KFLog.logSensitiveData) this._KFLog.debug("trying to find an already open tab with this url:" + url); else this._KFLog.debug("trying to find an already open tab with the requested url"); var found = false; ...
while (!found && browserEnumerator.hasMoreElements()) { var browserWin = browserEnumerator.getNext(); var tabbrowser = browserWin.gBrowser;
_openAndReuseOneTabPerURL: function(url) { if (this._KFLog.logSensitiveData) this._KFLog.debug("trying to find an already open tab with this url:" + url); else this._KFLog.debug("trying to find an already open tab with the requested url"); var found = false; ...
var numTabs = tabbrowser.browsers.length; for (var index = 0; index < numTabs; index++) { var currentBrowser = tabbrowser.getBrowserAtIndex(index); if (url == currentBrowser.currentURI.spec) { tabbrowser.selectedTab = tabbrowser.tabContainer.childNodes[index];
_openAndReuseOneTabPerURL: function(url) { if (this._KFLog.logSensitiveData) this._KFLog.debug("trying to find an already open tab with this url:" + url); else this._KFLog.debug("trying to find an already open tab with the requested url"); var found = false; ...
browserWin.focus();
_openAndReuseOneTabPerURL: function(url) { if (this._KFLog.logSensitiveData) this._KFLog.debug("trying to find an already open tab with this url:" + url); else this._KFLog.debug("trying to find an already open tab with the requested url"); var found = false; ...
found = true; break; } } }
_openAndReuseOneTabPerURL: function(url) { if (this._KFLog.logSensitiveData) this._KFLog.debug("trying to find an already open tab with this url:" + url); else this._KFLog.debug("trying to find an already open tab with the requested url"); var found = false; ...
try { var ttt = wm.getMostRecentWindow("navigator:browser"); var bbb = ttt.getBrowser(); } catch (ex)
if (!found)
_openAndReuseOneTabPerURL: function(url) { if (this._KFLog.logSensitiveData) this._KFLog.debug("trying to find an already open tab with this url:" + url); else this._KFLog.debug("trying to find an already open tab with the requested url"); var found = false; ...
this._KFLog.debug("browser window not ready yet");
this._KFLog.debug("tab with this URL not already open so opening one and focussing it now"); var newWindow = wm.getMostRecentWindow("navigator:browser"); var b = newWindow.getBrowser(); var newTab = b.loadOneTab( url, null, null, null, false, null ); return newTab; } } catch (ex) { this._KFLog.debug("browser window no...
_openAndReuseOneTabPerURL: function(url) { if (this._KFLog.logSensitiveData) this._KFLog.debug("trying to find an already open tab with this url:" + url); else this._KFLog.debug("trying to find an already open tab with the requested url"); var found = false; ...
this._KFLog.debug("browser window ready"); return; Application.windows.forEach(function(b) { Application.activeWindow.tabs.forEach(function(t) { if (url == t.uri.spec) { this._KFLog.debug("suitable tab already open - focussing it now"); t.focus(); found = true; return t; } }); }); if (!found) { this._KFLog.debug...
return;
_openAndReuseOneTabPerURL: function(url) { if (this._KFLog.logSensitiveData) this._KFLog.debug("trying to find an already open tab with this url:" + url); else this._KFLog.debug("trying to find an already open tab with the requested url"); var found = false; ...
win.keefox_org.UI._removeOLDKFNotifications();
win.keefox_org.UI._removeOLDKFNotifications(true);
_pauseKeeFox: function() { this._KFLog.debug("Pausing KeeFox."); this._keeFoxStorage.set("KeePassRPCActive", false); this._keeFoxStorage.set("KeePassDatabaseOpen", false); // grrr. This was HOPEFULLY the missing statement that led to the deadlocks (actually a slowly executing infinite recurs...
win.removeEventListener("TabOpen", this._onTabOpened, false);
_pauseKeeFox: function() { this._KFLog.debug("Pausing KeeFox."); //var wasConnected = this._keeFoxStorage.get("KeePassRPCActive", false); //var wasLoggedIn = this._keeFoxStorage.get("KeePassDatabaseOpen", false); this._keeFoxStorage.set("KeePassRPCActive", false); this._keeFoxS...
win.removeEventListener("TabSelect", this._onTabSelected, false); win.removeEventListener("TabOpen", this._onTabOpened, false);
win.gBrowser.tabContainer.removeEventListener("TabSelect", this._onTabSelected, false); win.gBrowser.tabContainer.removeEventListener("TabOpen", this._onTabOpened, false);
_pauseKeeFox: function() { this._KFLog.debug("Pausing KeeFox."); this._keeFoxStorage.set("KeePassRPCActive", false); this._keeFoxStorage.set("KeePassDatabaseOpen", false); // grrr. This was HOPEFULLY the missing statement that led to the deadlocks (actually a slowly executing infinite recurs...
win.keeFoxToolbar.removeLogins();
win.keeFoxToolbar.removeLogins(); win.keeFoxToolbar.setAllLogins();
_pauseKeeFox: function() { this._KFLog.debug("Pausing KeeFox."); this._keeFoxStorage.set("KeePassRPCActive", false); this._keeFoxStorage.set("KeePassDatabaseOpen", false); // grrr. This was HOPEFULLY the missing statement that led to the deadlocks (actually a slowly executing infinite recurs...
var win = enumerator.getNext(); win.keefox_org.toolbar.removeLogins(); win.keefox_org.toolbar.setAllLogins(); win.keefox_org.toolbar.setupButton_ready(win); win.keefox_org.UI._removeOLDKFNotifications(true); win.removeEventListener("TabSelect", this._onTabSelected, false); win.removeEventListener("TabOpen", this._onTa...
try { var win = enumerator.getNext(); win.keefox_org.toolbar.removeLogins(); win.keefox_org.toolbar.setAllLogins(); win.keefox_org.toolbar.setupButton_ready(win); win.keefox_org.UI._removeOLDKFNotifications(true); win.removeEventListener("TabSelect", this._onTabSelected, false); win.removeEventListener("TabOpen", this...
_pauseKeeFox: function() { this._KFLog.debug("Pausing KeeFox."); //var wasConnected = this._keeFoxStorage.get("KeePassRPCActive", false); //var wasLoggedIn = this._keeFoxStorage.get("KeePassDatabaseOpen", false); this._keeFoxStorage.set("KeePassRPCActive", false); this._keeFoxS...
if (fromStack.length == 0) { return false; }
if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; }
_popEditPosition : function(fromStack, fromIndex, toStack, saveCurrent) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from en...
if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; }
fromIndex = fromStack.items.length - 1 - fromIndex;
_popEditPosition : function(fromStack, fromIndex, toStack, saveCurrent) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from en...
fromIndex = fromStack.items.length - 1 - fromIndex;
var editPos = fromStack.items[fromIndex];
_popEditPosition : function(fromStack, fromIndex, toStack, saveCurrent) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from en...
var editPos = fromStack.items[fromIndex];
if (!editPos) { return false; }
_popEditPosition : function(fromStack, fromIndex, toStack, saveCurrent) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from en...
if (!editPos) { return false; }
if (saveCurrent && toStack.length == 0){ if (!this.isEditOnCurrentView(fromStack.peek())) { var currentView = ko.views.manager.currentView; this.addPositionToStack(toStack, currentView, currentView.scimoz.currentPos); } }
_popEditPosition : function(fromStack, fromIndex, toStack, saveCurrent) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from en...
if (saveCurrent && toStack.length == 0){ this.addPositionToStack(toStack); }
var elementToMoveCount = fromStack.items.length; for (var i = elementToMoveCount - 1; i >= fromIndex ; i--) { toStack.push(fromStack.items[i]); }
_popEditPosition : function(fromStack, fromIndex, toStack, saveCurrent) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from en...
var elementToMoveCount = fromStack.items.length; for (var i = elementToMoveCount - 1; i >= fromIndex ; i--) { toStack.push(fromStack.items[i]); } fromStack.items.splice(fromIndex, elementToMoveCount - fromIndex); editPos.view.makeCurrent(); var scimoz = editPos.view.scintilla.scimoz; scimoz.setSel(-1, editPos.position)...
fromStack.items.splice(fromIndex, elementToMoveCount - fromIndex); editPos.view.makeCurrent(); var scimoz = editPos.view.scimoz;
_popEditPosition : function(fromStack, fromIndex, toStack, saveCurrent) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from en...
this.updateCommands();
var line = scimoz.markerLineFromHandle(editPos.marker); if (line == -1) { scimoz.setSel(-1, editPos.position); } else { scimoz.gotoPos(scimoz.positionAtColumn(line, editPos.col)); }
_popEditPosition : function(fromStack, fromIndex, toStack, saveCurrent) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from en...
} catch(e) { DafizillaCommon.log("_popEditPosition err " + e);
this.updateCommands(); } catch (err) { DafizillaCommon.exception(err);
_popEditPosition : function(fromStack, fromIndex, toStack, saveCurrent) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from en...
_popEditPosition : function(fromStack, fromIndex, toStack) {
_popEditPosition : function(fromStack, fromIndex, toStack, saveCurrent) {
_popEditPosition : function(fromStack, fromIndex, toStack) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from end of array ...
if (saveCurrent && toStack.length == 0){ this.addPositionToStack(toStack); }
_popEditPosition : function(fromStack, fromIndex, toStack) { try { if (fromStack.length == 0) { return false; } if (fromIndex == 0 && this.isEditOnCurrentView(fromStack.peek())) { fromIndex = 1; } // elements are retrieved starting from end of array ...
function _printElement(element, opts) { var $elementToPrint = $(element);
function _printElement(element, opts){
function _printElement(element, opts) { var $elementToPrint = $(element); //Create markup to be printed var html = _getMarkup($elementToPrint, opts); var popupOrIframe = null; var documentToWriteTo = null; if (opts.printMode.toLowerCase() == 'popup') { popupOrIfr...
var html = _getMarkup($elementToPrint, opts);
var html = _getMarkup(element, opts);
function _printElement(element, opts) { var $elementToPrint = $(element); //Create markup to be printed var html = _getMarkup($elementToPrint, opts); var popupOrIframe = null; var documentToWriteTo = null; if (opts.printMode.toLowerCase() == 'popup') { popupOrIfr...
popupOrIframe = window.open('', 'printElementWindow', 'width=650,height=440,scrollbars=yes');
popupOrIframe = window.open('about:blank', 'printElementWindow', 'width=650,height=440,scrollbars=yes');
function _printElement(element, opts) { var $elementToPrint = $(element); //Create markup to be printed var html = _getMarkup($elementToPrint, opts); var popupOrIframe = null; var documentToWriteTo = null; if (opts.printMode.toLowerCase() == 'popup') { popupOrIfr...
var printElementID = "printElement_" + (Math.random() * 99999).toString(); popupOrIframe = $('<iframe />').attr({ style: opts.iframeElementOptions.styleToAdd,
var printElementID = "printElement_" + (Math.round(Math.random() * 99999)).toString(); var iframe = document.createElement('IFRAME'); $(iframe).attr({ style: opts.iframeElementOptions.styleToAdd,
function _printElement(element, opts) { var $elementToPrint = $(element); //Create markup to be printed var html = _getMarkup($elementToPrint, opts); var popupOrIframe = null; var documentToWriteTo = null; if (opts.printMode.toLowerCase() == 'popup') { popupOrIfr...
className: opts.iframeElementOptions.classNameToAdd }).appendTo('body')[0].contentWindow; documentToWriteTo = popupOrIframe.document;
className: opts.iframeElementOptions.classNameToAdd, frameBorder: 0, scrolling: 'no', src: 'about:blank' }); document.body.appendChild(iframe); documentToWriteTo = (iframe.contentWindow || iframe.contentDocument); if (documentToWriteTo.document) documentToWriteTo = documentToWriteTo.document; iframe = document.frames ?...
function _printElement(element, opts) { var $elementToPrint = $(element); //Create markup to be printed var html = _getMarkup($elementToPrint, opts); var popupOrIframe = null; var documentToWriteTo = null; if (opts.printMode.toLowerCase() == 'popup') { popupOrIfr...
window.focus();
focus();
function _printElement(element, opts) { var $elementToPrint = $(element); //Create markup to be printed var html = _getMarkup($elementToPrint, opts); var popupOrIframe = null; var documentToWriteTo = null; if (opts.printMode.toLowerCase() == 'popup') { popupOrIfr...
popupOrIframe.focus();
_callPrint(popupOrIframe);
function _printElement(element, opts) { var $elementToPrint = $(element); //Create markup to be printed var html = _getMarkup($elementToPrint, opts); var popupOrIframe = null; var documentToWriteTo = null; if (opts.printMode.toLowerCase() == 'popup') { popupOrIfr...
if (opts.printMode.toLowerCase() == 'popup') {
if (opts["printMode"].toLowerCase() == 'popup') {
function _printElement(element, opts){ //Create markup to be printed var html = _getMarkup(element, opts); var popupOrIframe = null; var documentToWriteTo = null; if (opts.printMode.toLowerCase() == 'popup') { popupOrIframe = window.open('about:blank', 'printEle...
style: opts.iframeElementOptions.styleToAdd,
style: opts["iframeElementOptions"]["styleToAdd"],
function _printElement(element, opts){ //Create markup to be printed var html = _getMarkup(element, opts); var popupOrIframe = null; var documentToWriteTo = null; if (opts.printMode.toLowerCase() == 'popup') { popupOrIframe = window.open('about:blank', 'printEle...
className: opts.iframeElementOptions.classNameToAdd,
className: opts["iframeElementOptions"]["classNameToAdd"],
function _printElement(element, opts){ //Create markup to be printed var html = _getMarkup(element, opts); var popupOrIframe = null; var documentToWriteTo = null; if (opts.printMode.toLowerCase() == 'popup') { popupOrIframe = window.open('about:blank', 'printEle...
$.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); $("[id^='printElement_']").remove(); return this.each(function() { var opts = $.meta ? $.extend({}, mainOptions, $this.data()) : mainOptions; _printElement($(this), opts); }); }; $.fn.printElement.defaults = { p...
function($){$.fn.printElement=function(options){var mainOptions=$.extend({},$.fn.printElement.defaults,options);if(mainOptions.printMode=='iframe'){if($.browser.opera||(/chrome/.test(navigator.userAgent.toLowerCase())))mainOptions.printMode='popup';}$("[id^='printElement_']").remove();return this.each(function(){var op...
$.fn.printElement = function(options) { var mainOptions = $.extend({}, $.fn.printElement.defaults, options); $("[id^='printElement_']").remove(); return this.each(function() { var opts = $.meta ? $.extend({}, mainOptions, $this.data()) : mainOptions; _printElement($(this), opts); }); }; $.fn.printElement.defaults =...
win.addEventListener("TabOpen", this._onTabOpened, false);
_refreshKPDB: function () { this._KFLog.debug("Refreshing KeeFox's view of the KeePass database."); var dbName = this.getDatabaseName(); if (dbName.constructor.name == "Error") // Can't use instanceof here becuase the Error object was created in a different scope { this._...
var dbName = this.getDatabaseName(); if (dbName == "")
var dbName = this.getDatabaseName(); if (dbName.constructor.name == "Error") { this._pauseKeeFox(); return; } else if (dbName == "")
_refreshKPDB: function () { this._KFLog.debug("Refreshing KeeFox's view of the KeePass database."); var dbName = this.getDatabaseName(); if (dbName == "") { this._KFLog.debug("No database is currently open."); this._keeFoxStorage.set("KeePassDatab...
if (MRUFN != null && MRUFN != undefined)
if (MRUFN != null && MRUFN != undefined && !(MRUFN instanceof Error))
_refreshKPDB: function () { this._KFLog.debug("Refreshing KeeFox's view of the KeePass database."); var dbName = this.getDatabaseName(); if (dbName == "") { this._KFLog.debug("No database is currently open."); this._keeFoxStorage.set("KeePassDatab...
var win = enumerator.getNext(); win.keefox_org.toolbar.removeLogins(); win.keefox_org.toolbar.setAllLogins(); win.keefox_org.toolbar.setupButton_ready(win); win.keefox_org.UI._removeOLDKFNotifications(); win.addEventListener("TabSelect", this._onTabSelected, false); win.addEventListener("TabOpen", this._onTabOpened, fa...
try { var win = enumerator.getNext(); win.keefox_org.toolbar.removeLogins(); win.keefox_org.toolbar.setAllLogins(); win.keefox_org.toolbar.setupButton_ready(win); win.keefox_org.UI._removeOLDKFNotifications(); win.addEventListener("TabSelect", this._onTabSelected, false); win.addEventListener("TabOpen", this._onTabOpen...
_refreshKPDB: function () { this._KFLog.debug("Refreshing KeeFox's view of the KeePass database."); var dbName = this.getDatabaseName(); if (dbName.constructor.name == "Error") // Can't use instanceof here becuase the Error object was created in a different scope { this._...
if (this._keeFoxStorage.get("KeePassDatabaseOpen",false))
if (this._keeFoxStorage.get("KeePassDatabaseOpen",false)) { win.keefox_org.ILM._fillDocument(win.content.document,false); } } catch (exception)
_refreshKPDB: function () { this._KFLog.debug("Refreshing KeeFox's view of the KeePass database."); var dbName = this.getDatabaseName(); if (dbName.constructor.name == "Error") // Can't use instanceof here becuase the Error object was created in a different scope { this._...
win.keefox_org.ILM._fillDocument(win.content.document,false);
this._KFLog.warn("Could not refresh KeeFox in a window. Maybe it is not correctly set-up yet? " + exception);
_refreshKPDB: function () { this._KFLog.debug("Refreshing KeeFox's view of the KeePass database."); var dbName = this.getDatabaseName(); if (dbName.constructor.name == "Error") // Can't use instanceof here becuase the Error object was created in a different scope { this._...
if (dbName.constructor.name == "Error") { this._pauseKeeFox(); return; } else if (dbName == "")
if (dbName === null)
_refreshKPDBCallback: function () { this._KFLog.debug("Refreshing KeeFox's view of the KeePass database."); var dbName = this.getDatabaseName(); if (dbName.constructor.name == "Error") // Can't use instanceof here becuase the Error object was created in a different scope { //TODO: Don...
win.addEventListener("TabSelect", this._onTabSelected, false); win.addEventListener("TabOpen", this._onTabOpened, false);
win.gBrowser.tabContainer.addEventListener("TabSelect", this._onTabSelected, false); win.gBrowser.tabContainer.addEventListener("TabOpen", this._onTabOpened, false);
_refreshKPDBCallback: function () { this._KFLog.debug("Refreshing KeeFox's view of the KeePass database."); var dbName = this.getDatabaseName(); //if (dbName.constructor.name == "Error") // Can't use instanceof here becuase the Error object was created in a different scope //{ //TODO:...
_removeOLDKFNotifications : function ()
_removeOLDKFNotifications : function (keepLaunchBar)
_removeOLDKFNotifications : function () { var notifyBox = this._getNotifyBox(); if (notifyBox) { var oldBar = notifyBox.getNotificationWithValue("password-save"); if (oldBar) { KFLog.debug("Removing save-password notification bar."); ...
oldBar = notifyBox.getNotificationWithValue("keefox-launch");
if (!keepLaunchBar) { oldBar = notifyBox.getNotificationWithValue("keefox-launch");
_removeOLDKFNotifications : function () { var notifyBox = this._getNotifyBox(); if (notifyBox) { var oldBar = notifyBox.getNotificationWithValue("password-save"); if (oldBar) { KFLog.debug("Removing save-password notification bar."); ...
if (oldBar) { KFLog.debug("Removing keefox-launch notification bar."); notifyBox.removeNotification(oldBar);
if (oldBar) { KFLog.debug("Removing keefox-launch notification bar."); notifyBox.removeNotification(oldBar); }
_removeOLDKFNotifications : function () { var notifyBox = this._getNotifyBox(); if (notifyBox) { var oldBar = notifyBox.getNotificationWithValue("password-save"); if (oldBar) { KFLog.debug("Removing save-password notification bar."); ...
a.method==Xmla.METHOD_EXECUTE&&this._fireEvent(Xmla.EVENT_EXECUTE,a)))d=M(d);return this.response},_requestError:function(a){this._fireEvent("error",a)},_requestSuccess:function(a){var b=a.xhr;this.responseXML=b.responseXML;this.responseText=b.responseText;b=a.method;var d=m(this.responseXML,w,n,"Fault");if(d.length){d...
a)||a.method==Xmla.METHOD_EXECUTE&&this._fireEvent(Xmla.EVENT_EXECUTE,a)))b=L(b);return this.response},_requestError:function(a){this._fireEvent("error",a)},_requestSuccess:function(a){var b=a.xhr;this.responseXML=b.responseXML;this.responseText=b.responseText;b=a.method;var d=o(this.responseXML,v,p,"Fault");if(d.lengt...
a.method==Xmla.METHOD_EXECUTE&&this._fireEvent(Xmla.EVENT_EXECUTE,a)))d=M(d);return this.response},_requestError:function(a){this._fireEvent("error",a)},_requestSuccess:function(a){var b=a.xhr;this.responseXML=b.responseXML;this.responseText=b.responseText;b=a.method;var d=m(this.responseXML,w,n,"Fault");if(d.length){d...
a.method==Xmla.METHOD_EXECUTE&&this._fireEvent(Xmla.EVENT_EXECUTE,a)))d=M(d);return this.response},_requestError:function(a){this._fireEvent("error",a)},_requestSuccess:function(a){var b=a.xhr;this.responseXML=b.responseXML;this.responseText=b.responseText;b=a.method;var d=m(this.responseXML,w,n,"Fault");if(d.length){d...
a)||a.method==Xmla.METHOD_EXECUTE&&this._fireEvent(Xmla.EVENT_EXECUTE,a)))b=L(b);return this.response},_requestError:function(a){this._fireEvent("error",a)},_requestSuccess:function(a){var b=a.xhr;this.responseXML=b.responseXML;this.responseText=b.responseText;b=a.method;var d=o(this.responseXML,v,p,"Fault");if(d.lengt...
a.method==Xmla.METHOD_EXECUTE&&this._fireEvent(Xmla.EVENT_EXECUTE,a)))d=M(d);return this.response},_requestError:function(a){this._fireEvent("error",a)},_requestSuccess:function(a){var b=a.xhr;this.responseXML=b.responseXML;this.responseText=b.responseText;b=a.method;var d=m(this.responseXML,w,n,"Fault");if(d.length){d...
break;case Xmla.PROP_FORMAT_MULTIDIMENSIONAL:break}this.response=a.resultset=c;this._fireEvent(Xmla.EVENT_EXECUTE_SUCCESS,a);break}this._fireEvent(Xmla.EVENT_SUCCESS,a)}},execute:function(a){var b=a.properties;if(j(b)){b={};a.properties=b}if(j(b[Xmla.PROP_CONTENT]))b[Xmla.PROP_CONTENT]=Xmla.PROP_CONTENT_SCHEMADATA;if(j...
break;case Xmla.PROP_FORMAT_MULTIDIMENSIONAL:break}this.response=a.resultset=c;this._fireEvent(Xmla.EVENT_EXECUTE_SUCCESS,a);break}this._fireEvent(Xmla.EVENT_SUCCESS,a)}},execute:function(a){var b=a.properties;if(j(b)){b={};a.properties=b}if(j(b[Xmla.PROP_CONTENT]))b[Xmla.PROP_CONTENT]=Xmla.PROP_CONTENT_SCHEMADATA;if(j...
a.method==Xmla.METHOD_EXECUTE&&this._fireEvent(Xmla.EVENT_EXECUTE,a)))d=M(d);return this.response},_requestError:function(a){this._fireEvent("error",a)},_requestSuccess:function(a){var b=a.xhr;this.responseXML=b.responseXML;this.responseText=b.responseText;b=a.method;var d=m(this.responseXML,w,n,"Fault");if(d.length){d...
this._promptWidget.style.maxWidth = "-moz-calc(1em * " + val.length + ")";
_setPrompt: function (val, highlightGroup) { this._promptWidget.value = val; this._promptWidget.collapsed = (val == ""); // we need this explicit width setting to show our slide in animation // let computedWidth = document.defaultView.getComputedStyle(document.getElementById('liberator-c...
path += path ? typeof i == 'number' ? '[' + i + ']' : typeof i == 'undefined' ? '' : '.' + i : i;
path += path ? typeof i === 'number' ? '[' + i + ']' : typeof i === 'undefined' ? '' : '.' + i : i;
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...
if((typeof schema != 'object' || schema instanceof Array) && (path || typeof schema != 'function')){ if(typeof schema == 'function'){
if((typeof schema !== 'object' || schema instanceof Array) && (path || typeof schema !== 'function')){ if(typeof schema === 'function'){
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...
if(typeof type == 'string' && type != 'any' && (type == 'null' ? value !== null : typeof value != type) && !(value instanceof Array && type == 'array') && !(type == 'integer' && value%1===0)){
if(typeof type === 'string' && type !== 'any' && (type === 'null' ? value !== null : typeof value !== type) && !(value instanceof Array && type === 'array') && !(type === 'integer' && value%1===0)){
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...
}else if(typeof type == 'object'){
}else if(typeof type === 'object'){
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...
if(value.hasOwnProperty(i)) {
if(value.hasOwnProperty(i) && typeof value[i] !== 'function') {
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...
addError((typeof i) + " The property " + i +
addError((typeof value[i]) + " The property " + i +
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...
if(schema.pattern && typeof value == 'string' && !value.match(schema.pattern)){
if(schema.pattern && typeof value === 'string' && !value.match(schema.pattern)){
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...
if(schema.maxLength && typeof value == 'string' && value.length > schema.maxLength){
if(schema.maxLength && typeof value === 'string' && value.length > schema.maxLength){
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...
if(schema.minLength && typeof value == 'string' && value.length < schema.minLength){
if(schema.minLength && typeof value === 'string' && value.length < schema.minLength){
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...
if(typeof schema.minimum !== undefined && typeof value == typeof schema.minimum &&
if(typeof schema.minimum !== undefined && typeof value === typeof schema.minimum &&
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...
if(typeof schema.maximum !== undefined && typeof value == typeof schema.maximum &&
if(typeof schema.maximum !== undefined && typeof value === typeof schema.maximum &&
_validate : function(/*Any*/instance,/*Object*/schema,/*Boolean*/ _changing) { var recursion = -1; var errors = []; var prettyPrint = []; function addPrint(indent, message){ var str = ""; for (var i = 0; i < indent; i++) str += "\t"; prettyPrint.push(str + message); } function appendPrint(message){ if (prettyPri...