rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
recordsToAdd.push(recordsToCopy[i])
recordsToAdd.push(recordsToCopy[i]);
copyFrom : function(sourceKnownLayerStore, filterFunc) { this.removeAll(); var recordsToCopy = sourceKnownLayerStore.getRange(); if (filterFunc) { var recordsToAdd = []; for (var i = 0; i < recordsToCopy.length; i++) { var knownLayerRecord = new KnownLayerRecord(recordsToCopy[i]); if (!filte...
mainWindow.keeFoxInst._KFLog.debug("4");
function copyKeePassRPCFilesTo(keePassLocation){ var destFolder = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); destFolder.initWithPath(keePassLocation); destFolder.append("plugins"); var destFileKeePassRPC = Components.classes["@mozilla.org/file...
mainWindow.keeFoxInst._KFLog.debug("5");
function copyKeePassRPCFilesTo(keePassLocation){ var destFolder = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); destFolder.initWithPath(keePassLocation); destFolder.append("plugins"); var destFileKeePassRPC = Components.classes["@mozilla.org/file...
mainWindow.keeFoxInst._KFLog.debug("6");
function copyKeePassRPCFilesTo(keePassLocation){ var destFolder = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); destFolder.initWithPath(keePassLocation); destFolder.append("plugins"); var destFileKeePassRPC = Components.classes["@mozilla.org/file...
mainWindow.keeFoxInst._KFLog.debug("7");
function copyKeePassRPCFilesTo(keePassLocation){ var destFolder = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); destFolder.initWithPath(keePassLocation); destFolder.append("plugins"); var destFileKeePassRPC = Components.classes["@mozilla.org/file...
mainWindow.keeFoxInst._KFLog.debug("8");
function copyKeePassRPCFilesTo(keePassLocation){ var destFolder = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); destFolder.initWithPath(keePassLocation); destFolder.append("plugins"); var destFileKeePassRPC = Components.classes["@mozilla.org/file...
promptService.alert("Sorry, KeeFox could not automatically install the KeePassRPC"
promptService.alert(mainWindow,"Something went wrong","Sorry, KeeFox could not automatically install the KeePassRPC"
function copyKeePassRPCFilesTo(keePassLocation){ var destFolder = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); destFolder.initWithPath(keePassLocation); destFolder.append("plugins"); var destFileKeePassRPC = Components.classes["@mozilla.org/file...
+ " computer administrator for assistance.");
+ " computer administrator for assistance."); return false;
function copyKeePassRPCFilesTo(keePassLocation){ var destFolder = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); destFolder.initWithPath(keePassLocation); destFolder.append("plugins"); var destFileKeePassRPC = Components.classes["@mozilla.org/file...
return true;
function copyKeePassRPCFilesTo(keePassLocation){ var destFolder = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); destFolder.initWithPath(keePassLocation); destFolder.append("plugins"); var destFileKeePassRPC = Components.classes["@mozilla.org/file...
mainWindow.KFdownloadFile("IC5PriDownload", KF_KPZIP_DOWNLOAD_PATH + KF_KPZIP_FILE_NAME, KF_KPZIP_FILE_NAME, mainWindow, window);
persist = mainWindow.KFdownloadFile("IC5PriDownload", KF_KPZIP_DOWNLOAD_PATH + KF_KPZIP_FILE_NAME, KF_KPZIP_SAVE_NAME, mainWindow, window, persist);
function copyKPToSpecificLocationInstall() {//TODO: cancel KPsetup download // start the download if it hasn't already been done if (!(installState & KF_INSTALL_STATE_KPZIP_DOWNLOADING) && !(installState & KF_INSTALL_STATE_KPZIP_DOWNLOADED)) { installState |= KF_INSTALL_STATE_KPZIP_DOWNLOADING | KF_...
copyKeePassRPCFilesTo(keePassLocation);
if (!copyKeePassRPCFilesTo(keePassLocation)) { hideSection('IC3installing'); showSection('ERRORInstallButtonMain'); return; }
function copyKRPCToKnownKPLocationInstall(){ hideInstallView(); keePassLocation = mainWindow.keeFoxInst._keeFoxExtension.prefs .getValue("keePassInstalledLocation", "not installed"); if (keePassLocation == "not installed") { mainWindow.keeFoxInst._KFLog.error("We seem to have f...
mainWindow.keeFoxInst._KFLog.debug("AAA");
function copyKRPCToKnownKPLocationInstall(){ hideInstallView(); keePassLocation = mainWindow.keeFoxInst._keeFoxExtension.prefs .getValue("keePassInstalledLocation", "not installed"); if (keePassLocation == "not installed") { mainWindow.keeFoxInst._KFLog.error("We seem to have f...
},getParent:function(){var h=this.$.parentNode;return h&&h.nodeType==1?new d.node(h):null;},getParents:function(h){var i=this,j=[];do j[h?'push':'unshift'](i);while(i=i.getParent())return j;},getCommonAncestor:function(h){var j=this;if(h.equals(j))return j;if(h.contains&&h.contains(j))return h;var i=j.contains?j:j.getP...
};d.nodeList.prototype={count:function(){return this.$.length;},getItem:function(h){var i=this.$[h];return i?new d.node(i):null;}};d.element=function(h,i){if(typeof h=='string')h=(i?i.$:document).createElement(h);d.domObject.call(this,h);};var h=d.element;h.get=function(i){return i&&(i.$?i:new h(i));};h.prototype=new d...
},getParent:function(){var h=this.$.parentNode;return h&&h.nodeType==1?new d.node(h):null;},getParents:function(h){var i=this,j=[];do j[h?'push':'unshift'](i);while(i=i.getParent())return j;},getCommonAncestor:function(h){var j=this;if(h.equals(j))return j;if(h.contains&&h.contains(j))return h;var i=j.contains?j:j.getP...
for (var i = 0; i < countryId.length; i++) {
countryStateList: function(){ var populateStates = function(statesCombo, countries){ var statesC = $(statesCombo), statesCache = VMCache.get('states'), statesGroup = [], states2add = ''; statesCombo.$countries = statesCombo.$countries ? statesCombo.$countries : []; for(var i = 0, n = state...
add: function(props){ if(props.constructor === Object){ for(var i in props){ this[i] = props[i]; } } return this; } }; })(jQuery);
countryStateList: function(){ var populateStates = function(statesCombo, countries){ var statesC = $(statesCombo), statesCache = VMCache.get('states'), statesGroup = [], states2add = ''; statesCombo.$countries = statesCombo.$countries ? statesCombo.$countries : []; for(var i = 0, n = state...
if(ref_node != -1) ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(ref_node != -1 && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); if(typeof position == "undefined") position = "inside"; if(ref_node != -1 && position != "after" && position != "before" && ref_node.hasC...
var root = false; if(ref_node == -1) { root = true; ref_node = this.container; } else ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(!root && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); var pos = position; var tmp = ref_node; if(position == "before") { position ...
create : function (obj, ref_node, position) { if(this.locked) return this.error("LOCKED"); if(ref_node != -1) ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(ref_node != -1 && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); if(typeof position == "undefin...
else { this.open_branch(ref_node, true); }
create : function (obj, ref_node, position) { if(this.locked) return this.error("LOCKED"); if(ref_node != -1) ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(ref_node != -1 && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); if(typeof position == "undefin...
switch(position) { case "before": position = ref_node.parent().children().index(ref_node); ref_node = this.parent(ref_node); break; case "after": position = ref_node.parent().children().index(ref_node) + 1; ref_node = this.parent(ref_node); break; case "inside": position = (this.settings.rules.createat == "top") ? 0 : ...
create : function (obj, ref_node, position) { if(this.locked) return this.error("LOCKED"); if(ref_node != -1) ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(ref_node != -1 && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); if(typeof position == "undefin...
if(!obj.attributes[this.settings.rules.type_attr]) obj.attributes[this.settings.rules.type_attr] = this.get_type(ref_node) || "default";
if(!obj.attributes[this.settings.rules.type_attr]) obj.attributes[this.settings.rules.type_attr] = this.get_type(tmp) || "default";
create : function (obj, ref_node, position) { if(this.locked) return this.error("LOCKED"); if(ref_node != -1) ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(ref_node != -1 && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); if(typeof position == "undefin...
max_depth : this.settings.rules.use_max_depth ? this.check("max_depth", ref_node) : -1, max_children : this.settings.rules.use_max_children ? this.check("max_children", ref_node) : -1, valid_children : this.check("valid_children", ref_node)
max_depth : this.settings.rules.use_max_depth ? this.check("max_depth", (root ? -1 : ref_node) ) : -1, max_children : this.settings.rules.use_max_children ? this.check("max_children", (root ? -1 : ref_node) ) : -1, valid_children : this.check("valid_children", (root ? -1 : ref_node) )
create : function (obj, ref_node, position) { if(this.locked) return this.error("LOCKED"); if(ref_node != -1) ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(ref_node != -1 && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); if(typeof position == "undefin...
while(t !== -1) {
while(t !== -1 && !root) {
create : function (obj, ref_node, position) { if(this.locked) return this.error("LOCKED"); if(ref_node != -1) ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(ref_node != -1 && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); if(typeof position == "undefin...
if(!this.callback("beforecreate", [{ 'node' : $li.get(0), 'parent' : ref_node == -1 ? -1 : ref_node.get(0), 'position' : position }])) return this.error("CREATE: STOPPED");
if((typeof position).toLowerCase() == "undefined" || position == "inside") position = (this.settings.rules.createat == "top") ? 0 : ref_node.children("ul:eq(0)").children("li").size(); if(ref_node.children("ul").size() == 0 || (root == true && ref_node.children("ul").children("li").size() == 0) ) { if(!root) var a = th...
create : function (obj, ref_node, position) { if(this.locked) return this.error("LOCKED"); if(ref_node != -1) ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(ref_node != -1 && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); if(typeof position == "undefin...
var rb = {}; rb[this.container.attr("id")] = this.get_rollback(); $li = this._create($li, ref_node, position, true);
if(a === false) return this.error("CREATE: ABORTED");
create : function (obj, ref_node, position) { if(this.locked) return this.error("LOCKED"); if(ref_node != -1) ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(ref_node != -1 && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); if(typeof position == "undefin...
this.select_branch($li.children("a:eq(0)")); this.rename(false, true, rb);
if(torename) { this.select_branch($li.children("a:eq(0)")); this.rename(); }
create : function (obj, ref_node, position) { if(this.locked) return this.error("LOCKED"); if(ref_node != -1) ref_node = ref_node ? this.get_node(ref_node) : this.selected; if(ref_node != -1 && (!ref_node || !ref_node.size())) return this.error("CREATE: NO NODE SELECTED"); if(typeof position == "undefin...
if (onchange && typeof onchange != "function") {
if (onchange && typeof onchange == "function") {
function create_get_set(cur_val, onchange) { return {get: function () { return cur_val; }, set: function (new_val) { /// Temporarily store the original value to be sent to the onchange function. var old_val = cur_val; cur_val = n...
var $tpl = ''; $tpl += '<li class="ui-widget graph-image '+timespan+'">'; $tpl += '<ul class="sortable ui-sortable">'; for ( var g = 0; g < graphs.length; g++) { $tpl += '<li class="gc">'; $tpl += get_graph_menu(); if ($('#graph-caching-checkbox').attr('checked')) { $tpl += '<img class="gc-img" src="media/images/graph-...
var $tpl = ''; $tpl += '<li class="ui-widget graph-image '+timespan+'">'; $tpl += '<ul class="sortable ui-sortable">'; for ( var g = 0; g < graphs.length; g++) { $tpl += '<li class="gc">'; $tpl += get_graph_menu(); if ($('#graph-caching-checkbox').attr('checked')) { $tpl += '<img class="gc-img toload" src="media/images...
function create_graph_list(timespan, graphs) { var $tpl = ''; $tpl += '<li class="ui-widget graph-image '+timespan+'">'; $tpl += '<ul class="sortable ui-sortable">'; for ( var g = 0; g < graphs.length; g++) { $tpl += '<li class="gc">'; $tpl += get_graph_menu(); if ($('#graph-caching-checkbox').attr('checked')) { $...
},isArray:function(f){return!!f&&f instanceof Array;},isEmpty:function(f){for(var g in f){if(f.hasOwnProperty(g))return false;}return true;},cssStyleToDomStyle:(function(){var f=document.createElement('div').style,g=typeof f.cssFloat!='undefined'?'cssFloat':typeof f.styleFloat!='undefined'?'styleFloat':'float';return f...
g.prototype=f;return new g();},isArray:function(f){return!!f&&f instanceof Array;},isEmpty:function(f){for(var g in f){if(f.hasOwnProperty(g))return false;}return true;},cssStyleToDomStyle:(function(){var f=document.createElement('div').style,g=typeof f.cssFloat!='undefined'?'cssFloat':typeof f.styleFloat!='undefined'?...
},isArray:function(f){return!!f&&f instanceof Array;},isEmpty:function(f){for(var g in f){if(f.hasOwnProperty(g))return false;}return true;},cssStyleToDomStyle:(function(){var f=document.createElement('div').style,g=typeof f.cssFloat!='undefined'?'cssFloat':typeof f.styleFloat!='undefined'?'styleFloat':'float';return f...
featurePrefix: null,
featurePrefix: null
function createClusteredWFSLayer(layerDef) { var title = layerDef.Title; var options = layerDef.Options; var wfs_url = layerDef.Url; var delimiter = '?'; if (options['map'] != null) { wfs_url = layerDef.Url+delimiter+"map="+options['map']; delimiter = '&'; } var featureType = layerDef.ogc_name; var p = new Open...
var wfs_url = layerDef.Url+"?map="+options['map'];
var wfs_url = layerDef.Url;
function createClusteredWFSLayer(layerDef) { var title = layerDef.Title; var options = layerDef.Options; var wfs_url = layerDef.Url+"?map="+options['map']; var featureType = layerDef.ogc_name; var p = new OpenLayers.Protocol.WFS({ url: wfs_url, featureType: featureType, featurePrefix: null }); p.format.setN...
var wfs_url = layerDef.Url;
var wfs_url = layerDef.Url+"?map="+options['map'];
function createClusteredWFSLayer(layerDef) { var title = layerDef.Title; var options = layerDef.Options; var wfs_url = layerDef.Url; var featureType = layerDef.ogc_name; var p = new OpenLayers.Protocol.WFS({ url: wfs_url, featureType: featureType, featurePrefix: null }); p.format.setNamespace("feature", "http:...
if(editing) return; editing = true;
function createElement() { // grab current value options.current.value = element.html(); // grab extra params if($(this).parent().attr('rel') != '') options.current.extraParams = eval('('+ $(this).parent().attr('rel') +')'); // add class element.addClass('inlineEditing'); // remove e...
" g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=A(n,"width","300px");g.style.height=A(n,"height","24px");n.parentNode.replaceChild(g,n);var q=(n.getAttribute("preload")||"").toLowerCase(),i=[];x&&i.push({url:C(x)});if(G)i.push({url:C(G),autoPlay:y(n,"autoplay"),autoBuffering:y(...
t.MP3_FORMAT],k=t.fileExtensions={video:{ogg:a,ogv:a,avi:b,mp4:b,mkv:b,h264:b,"264":b,avc:b,m4v:b,"3gp":b,"3gpp":b,"3g2":b,mpg:b,mpeg:b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:f,wav:l}},r=z.location.protocol+" "",G;if(H)G=B(j,H);else v(n.getElementsByTagName("source"),function(s){var D=s.getAttribute("src");D&&!H&&v(h,func...
"//"+z.location.host,w=String(z.location);v(o.getElementsByTagName("base"),function(j){if(j.href)w=j.href});w=w.split("/").slice(0,-1).join("/")+"/";t.configureFlowplayer=function(j,n,u){return u};t.createFallback=function(j,n){var u=y(n,"controls"),x=n.getAttribute("poster")||"",G=n.getAttribute("src")||"",I;if(G)I=B(...
" g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=D(n,"width","300px");g.style.height=D(n,"height","24px");n.parentNode.replaceChild(g,n);var p=(n.getAttribute("preload")||"").toLowerCase(),i=[];w&&i.push({url:B(w)});if(G)i.push({url:B(G),autoPlay:y(n,"autoplay"),autoBuffering:y(...
"3gpp":b,"3g2":b,mpg:b,mpeg:b},audio:{ogg:c,oga:c,aac:m,m4a:m,mp3:d,wav:l}},q=A.location.protocol+" z&&!G&&v(h,function(H){I=F(j,z,r.getAttribute("type"));if(E(I)==E(H))G=z})});var g=o.createElement("span");g.id=n.id;g.className=n.className;g.title=n.title;g.style.display="block";g.style.width=D(n,"width","300px");g.st...
"//"+A.location.host,u=String(A.location);v(o.getElementsByTagName("base"),function(j){if(j.href)u=j.href});u=u.split("/").slice(0,-1).join("/")+"/";s.configureFlowplayer=function(j,n,t){return t};s.createFallback=function(j,n){var t=y(n,"controls"),w=n.getAttribute("poster")||"",G=n.getAttribute("src")||"",I;if(G)I=F(...
},getParent:function(){var h=this.$.parentNode;return h&&h.nodeType==1?new d.node(h):null;},getParents:function(h){var i=this,j=[];do j[h?'push':'unshift'](i);while(i=i.getParent())return j;},getCommonAncestor:function(h){var j=this;if(h.equals(j))return j;if(h.contains&&h.contains(j))return h;var i=j.contains?j:j.getP...
};d.nodeList.prototype={count:function(){return this.$.length;},getItem:function(h){var i=this.$[h];return i?new d.node(i):null;}};d.element=function(h,i){if(typeof h=='string')h=(i?i.$:document).createElement(h);d.domObject.call(this,h);};var h=d.element;h.get=function(i){return i&&(i.$?i:new h(i));};h.prototype=new d...
},getParent:function(){var h=this.$.parentNode;return h&&h.nodeType==1?new d.node(h):null;},getParents:function(h){var i=this,j=[];do j[h?'push':'unshift'](i);while(i=i.getParent())return j;},getCommonAncestor:function(h){var j=this;if(h.equals(j))return j;if(h.contains&&h.contains(j))return h;var i=j.contains?j:j.getP...
this.hostPanel.cardPanel.getLayout().activeItem.getComponent(0).presetData = defaultData;
this.hostPanel.cardPanel.getLayout().activeItem.items.get(0).presetData = defaultData; this.hostPanel.cardPanel.getLayout().activeItem.items.get(0).resetHandler();
createRoleMapping : function(button, e) { if (this.hostPanel) { var roleId = this.find('name', 'roleId')[0].getValue(); var roleRec = this.roleStore.getById(roleId); var sourceId = this.find('name', 'source')[0].getValue(); var handler = this.hostPanel.addActionHa...
if (params.name) this.lines[This.lineNum].staff[This.staffNum].title = params.name;
if (params.name) This.lines[This.lineNum].staff[This.staffNum].title = params.name; if (params.fontVocal) This.lines[This.lineNum].staff[This.staffNum].fontVocal = params.fontVocal;
var createStaff = function(params) { This.lines[This.lineNum].staff[This.staffNum] = { voices: [ ]}; if (params.name) this.lines[This.lineNum].staff[This.staffNum].title = params.name; createVoice(params); };
if (params.name) This.lines[This.lineNum].staff[This.staffNum].title = params.name;
var createStaff = function(params) { This.lines[This.lineNum].staff[This.staffNum] = { voices: [ ]}; if (params.name) This.lines[This.lineNum].staff[This.staffNum].title = params.name; if (params.fontVocal) This.lines[This.lineNum].staff[This.staffNum].fontVocal = params.fontVocal; createVoice(params); };
if (params.part) This.appendElement('part', params.startChar, params.endChar, {title: params.part}); This.appendStartingElement('clef', params.startChar, params.endChar, params.clef ); This.appendStartingElement('key', params.startChar, params.endChar, params.key); if (params.meter !== undefined) This.appendStartingEle...
var createStaff = function(params) { This.lines[This.lineNum].staff[This.staffNum] = { voices: [ ]}; if (params.name) This.lines[This.lineNum].staff[This.staffNum].title = params.name; if (params.fontVocal) This.lines[This.lineNum].staff[This.staffNum].fontVocal = params.fontVocal; createVoice(params); };
strokeOpacity: strokeOpacity,
strokeOpacity: strokeOpacity
OLStyleFactory.createStyleMap_Line = function(strokeColor,strokeWidth,strokeOpacity) { var default_style = new OpenLayers.Style({ strokeColor: strokeColor, strokeWidth: strokeWidth, strokeOpacity: strokeOpacity, }); // create style map class var styleMap = new OpenLayers.StyleMap({ "defa...
+ documentNode.textContent
+ textContent
var createTreeNode = function(documentNode) { var treeNode = null; // We have a leaf if (isLeafNode(documentNode)) { treeNode = new Ext.tree.TreeNode( { text : documentNode.tagName + " = " + documentNode.textContent }); } else {...
This.appendStartingElement('clef', params.startChar, params.endChar, {type: params.clef });
This.appendStartingElement('clef', params.startChar, params.endChar, params.clef );
var createVoice = function(params) { This.lines[This.lineNum].staff[This.staffNum].voices[This.voiceNum] = []; if (params.part) This.appendElement('part', params.startChar, params.endChar, {title: params.part}); This.appendStartingElement('clef', params.startChar, params.endChar, {type: params.clef }); Thi...
if (params.part) This.appendElement('part', params.startChar, params.endChar, {title: params.part}); This.appendStartingElement('clef', params.startChar, params.endChar, params.clef ); This.appendStartingElement('key', params.startChar, params.endChar, params.key); if (params.meter !== undefined) This.appendStartingEle...
if (This.isFirstLine(This.lineNum)) { if (params.name) { if (!This.lines[This.lineNum].staff[This.staffNum].title) This.lines[This.lineNum].staff[This.staffNum].title = []; This.lines[This.lineNum].staff[This.staffNum].title[This.voiceNum] = params.name; } } else { if (params.subname) { if (!This.lines[This.lineNum].st...
var createVoice = function(params) { This.lines[This.lineNum].staff[This.staffNum].voices[This.voiceNum] = []; if (params.part) This.appendElement('part', params.startChar, params.endChar, {title: params.part}); This.appendStartingElement('clef', params.startChar, params.endChar, params.clef ); This.append...
var title = layerDef.Title; var options = layerDef.Options;
var delimiter = '?'; if (options['map'] != null) { wfs_url = layerDef.Url+delimiter+"map="+options['map']; delimiter = '&'; }
function createWFSLayer(layerDef) { var wfs_url = layerDef.Url; var title = layerDef.Title; var options = layerDef.Options; var featureType = layerDef.ogc_name; var layer = new OpenLayers.Layer.WFS(title, wfs_url, options); return layer;}
var layer = new OpenLayers.Layer.WFS(title, wfs_url, options);
var p = new OpenLayers.Protocol.WFS({ url: wfs_url, featureType: featureType, featurePrefix: null }); p.wfs_url = wfs_url + delimiter; p.format.setNamespace("feature", "http: strategies = [ new OpenLayers.Strategy.Fixed() ]; layer = new OpenLayers.Layer.Vector(title, { strategies: strategies, protocol: p });
function createWFSLayer(layerDef) { var wfs_url = layerDef.Url; var title = layerDef.Title; var options = layerDef.Options; var featureType = layerDef.ogc_name; var layer = new OpenLayers.Layer.WFS(title, wfs_url, options); return layer;}
d.fn.css=function(a,b){return S(this,a,b,true,function(e,g,h){if(h===v)return d.curCSS(e,g);if(typeof h==="number"&&!Oa.test(g))h+="px";d.style(e,g,h)})};d.extend({style:function(a,b,e){if(!a||a.nodeType===3||a.nodeType===8)return v;if((b==="width"||b==="height")&&parseFloat(e)<0)e=v;var g=a.style||a,h=e!==v;if(!d.supp...
"Bottom"],Va=r.defaultView&&r.defaultView.getComputedStyle,pa=c.support.cssFloat?"cssFloat":"styleFloat",qa=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return S(this,a,b,true,function(e,f,h){if(h===v)return c.curCSS(e,f);if(typeof h==="number"&&!Oa.test(f))h+="px";c.style(e,f,h)})};c.extend({style:func...
d.fn.css=function(a,b){return S(this,a,b,true,function(e,g,h){if(h===v)return d.curCSS(e,g);if(typeof h==="number"&&!Oa.test(g))h+="px";d.style(e,g,h)})};d.extend({style:function(a,b,e){if(!a||a.nodeType===3||a.nodeType===8)return v;if((b==="width"||b==="height")&&parseFloat(e)<0)e=v;var g=a.style||a,h=e!==v;if(!d.supp...
0?l():d.swap(a,Sa,l);return Math.max(0,Math.round(h))}return d.curCSS(a,b,e)},curCSS:function(a,b,e){var g,h=a.style;if(!d.support.opacity&&b==="opacity"&&a.currentStyle){g=na.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return g===""?"1":g}if(X.test(b))b=pa;if(!e&&h&&h[b])g=h[b];else if(Va){if(X.tes...
true))||0);if(f==="margin")h+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else h-=parseFloat(c.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?l():c.swap(a,Sa,l);return Math.max(0,Math.round(h))}return c.curCSS(a,b,e)},curCSS:function(a,b,e){var f,h=a.style;if(!c.support.opacity&&b==="opacity"&&a.current...
0?l():d.swap(a,Sa,l);return Math.max(0,Math.round(h))}return d.curCSS(a,b,e)},curCSS:function(a,b,e){var g,h=a.style;if(!d.support.opacity&&b==="opacity"&&a.currentStyle){g=na.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return g===""?"1":g}if(X.test(b))b=pa;if(!e&&h&&h[b])g=h[b];else if(Va){if(X.tes...
hasMoreRows:function(){return this.numRows>this.rowIndex},next:function(){this.row=this.rows.item(++this.rowIndex)},curr:function(){return this.rowIndex},rowCount:function(){return this.numRows},reset:function(){this.rowIndex=0;this.row=this.hasMoreRows()?this.rows.item(this.rowIndex):null},fieldDef:function(a){var b=t...
return a},hasMoreRows:function(){return this.numRows>this.rowIndex},next:function(){this.rowIndex+=1;this.row=this.rows.item(this.rowIndex)},curr:function(){return this.rowIndex},rowCount:function(){return this.numRows},reset:function(){this.rowIndex=0;this.row=this.hasMoreRows()?this.rows.item(this.rowIndex):null},fie...
hasMoreRows:function(){return this.numRows>this.rowIndex},next:function(){this.row=this.rows.item(++this.rowIndex)},curr:function(){return this.rowIndex},rowCount:function(){return this.numRows},reset:function(){this.rowIndex=0;this.row=this.hasMoreRows()?this.rows.item(this.rowIndex):null},fieldDef:function(a){var b=t...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,t,g){function n(c){var e,h,i,q=a.getElement(t).firstChild.childNodes;h=e=0;for(i=q.length;h<i;h++){var s=q[h];if(a.hasTag(s,"COLGROUP")){h=-1;q=s.childNodes;i=q.length}if(a.hasTag(s,"COL"))if(s.className!="Wt-vrh")if(e==c)return s;else++e}return null}fu...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,t,i){function o(c){var f,j,l,q=a.getElement(t).firstChild.childNodes;j=f=0;for(l=q.length;j<l;j++){var s=q[j];if(a.hasTag(s,"COLGROUP")){j=-1;q=s.childNodes;l=q.length}if(a.hasTag(s,"COL"))if(s.className!="Wt-vrh")if(f==c)return s;else++f}return null}fu...
WT_DECLARE_WT_MEMBER(2,"StdLayout.prototype.initResize",function(a,t,g){function n(c){var e,h,i,q=a.getElement(t).firstChild.childNodes;h=e=0;for(i=q.length;h<i;h++){var s=q[h];if(a.hasTag(s,"COLGROUP")){h=-1;q=s.childNodes;i=q.length}if(a.hasTag(s,"COL"))if(s.className!="Wt-vrh")if(e==c)return s;else++e}return null}fu...
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!...
var _$_WT_CLASS_$_=new (function(){function x(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function u(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!...
var _$_WT_CLASS_$_=new (function(){function w(a,b){return a.style[b]?a.style[b]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(a,null)[b]:a.currentStyle?a.currentStyle[b]:null}function t(a){if(B==null)return null;if(!a)a=window.event;if(a){for(var b=a=g.target(a);b&&b!...
function I(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function P(c){ca=c}function E(c){with(window){c&&eval(c);_$_APP_CLASS_$_._p_.autoJavaScript()}}function D(c,d,e){if(!X){if(c=...
function I(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function Q(c){ca=c}function E(c){with(window){c&&eval(c);_$_APP_CLASS_$_._p_.autoJavaScript()}}function D(c,d,e){if(!X){if(c=...
function I(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function P(c){ca=c}function E(c){with(window){c&&eval(c);_$_APP_CLASS_$_._p_.autoJavaScript()}}function D(c,d,e){if(!X){if(c=...
"",d=false,e=0;e<y.length;++e){d=d||y[e].feedback;c+=y[e].data}ga=y;y=[];return{feedback:d,result:c}}function z(){R=true;if(aa){clearTimeout(aa);aa=null}var c=$("#Wt-timers");c.size()>0&&h.setHtml(c.get(0),"",false)}function P(){h.history._initTimeout();ba==0&&u(null,"none",null,false);aa=setTimeout(P,_$_KEEP_ALIVE_$_0...
e.target==document?null:e.target}function d(){document.activeElement=null}document.addEventListener("focus",c,true);document.addEventListener("blur",d,true)}h.history._initialize();U();if(!ja){ja=true;_$_ONLOAD_$_();R||(aa=setTimeout(z,_$_KEEP_ALIVE_$_000))}}function b(c){clearTimeout(c);document.body.style.cursor="aut...
"",d=false,e=0;e<y.length;++e){d=d||y[e].feedback;c+=y[e].data}ga=y;y=[];return{feedback:d,result:c}}function z(){R=true;if(aa){clearTimeout(aa);aa=null}var c=$("#Wt-timers");c.size()>0&&h.setHtml(c.get(0),"",false)}function P(){h.history._initTimeout();ba==0&&u(null,"none",null,false);aa=setTimeout(P,_$_KEEP_ALIVE_$_0...
p.onreadystatechange=function(){var t=p.readyState;if(t=="loaded")h.isOpera?M(c):j();else t=="complete"&&M(c)};document.getElementsByTagName("head")[0].appendChild(p)}}function x(c,d){this.callback=d;this.work=c.length;this.images=[];if(c.length==0)d(this.images);else for(d=0;d<c.length;d++)this.preload(c[d])}function ...
p.setAttribute("src",c);p.onload=function(){M(c)};p.onerror=j;p.onreadystatechange=function(){var t=p.readyState;if(t=="loaded")h.isOpera?M(c):j();else t=="complete"&&M(c)};document.getElementsByTagName("head")[0].appendChild(p)}}function x(c,d){this.callback=d;this.work=c.length;this.images=[];if(c.length==0)d(this.im...
p.onreadystatechange=function(){var t=p.readyState;if(t=="loaded")h.isOpera?M(c):j();else t=="complete"&&M(c)};document.getElementsByTagName("head")[0].appendChild(p)}}function x(c,d){this.callback=d;this.work=c.length;this.images=[];if(c.length==0)d(this.images);else for(d=0;d<c.length;d++)this.preload(c[d])}function ...
"paddingTop"),w=a.pxself(q.rows[q.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",u.offsetWidth,q.offsetHeight-v-w,n,r,"Wt-hsh",function(B){k(e,j,B)},u,l,m,0,-e.offsetTop+v-a.pxself(e,"paddingTop"))}function d(e,j,m){var n=e.parentNode.previousSibling;e=e.parentNode.nextSibling;var r=n.offsetHeight...
a.getElement(t).dirty=true;window.onresize()}function d(){var e,j=0;for(e=0;;++e){var m=p(e);if(m)j+=a.pctself(m,"width");else break}if(j!=0)for(e=0;;++e)if(m=p(e)){var n=a.pctself(m,"width");if(n)m.style.width=n*100/j+"%"}else break}function k(e,j,m){e=p(j);var n=o(e,j),r=p(j+1),u=o(r,j+1);if(a.pctself(e,"width")>0&&a...
"paddingTop"),w=a.pxself(q.rows[q.rows.length-1].childNodes[0],"paddingBottom");new a.SizeHandle(a,"h",u.offsetWidth,q.offsetHeight-v-w,n,r,"Wt-hsh",function(B){k(e,j,B)},u,l,m,0,-e.offsetTop+v-a.pxself(e,"paddingTop"))}function d(e,j,m){var n=e.parentNode.previousSibling;e=e.parentNode.nextSibling;var r=n.offsetHeight...
f,g){var h=c.parentNode.previousSibling;c=c.parentNode.nextSibling;var o=h.offsetHeight,q=c.offsetHeight;if(r.stretch[f]>0&&r.stretch[f+1]>0)r.stretch[f]=-1;if(r.stretch[f+1]==0)r.stretch[f+1]=-1;r.stretch[f]<=0&&p.adjustRow(h,o+g);r.stretch[f+1]<=0&&p.adjustRow(c,q-g);a.getElement(s).dirty=true;window.onresize()}funct...
f,g){var j=c.parentNode.previousSibling;c=c.parentNode.nextSibling;var q=j.offsetHeight,s=c.offsetHeight;if(h.stretch[f]>0&&h.stretch[f+1]>0)h.stretch[f]=-1;if(h.stretch[f+1]==0)h.stretch[f+1]=-1;h.stretch[f]<=0&&r.adjustRow(j,q+g);h.stretch[f+1]<=0&&r.adjustRow(c,s-g);a.getElement(u).dirty=true;window.onresize()}funct...
f,g){var h=c.parentNode.previousSibling;c=c.parentNode.nextSibling;var o=h.offsetHeight,q=c.offsetHeight;if(r.stretch[f]>0&&r.stretch[f+1]>0)r.stretch[f]=-1;if(r.stretch[f+1]==0)r.stretch[f+1]=-1;r.stretch[f]<=0&&p.adjustRow(h,o+g);r.stretch[f+1]<=0&&p.adjustRow(c,q-g);a.getElement(s).dirty=true;window.onresize()}funct...
V=setTimeout(e,_$_KEEP_ALIVE_$_000)}function k(d){if(!o.isIEMobile)document.title=d}function i(){if(!document.activeElement){function d(f){if(f&&f.target)document.activeElement=f.target==document?null:f.target}function c(){document.activeElement=null}document.addEventListener("focus",d,true);document.addEventListener("...
c+"metaKey=1";if(k.shiftKey)f+=c+"shiftKey=1";d.data=f;return d}function a(){for(var d="",c=false,f=0;f<y.length;++f){c=c||y[f].feedback;d+=y[f].data}ba=y;y=[];return{feedback:c,result:d}}function b(){P=true;if(V){clearTimeout(V);V=null}var d=$("#Wt-timers");d.size()>0&&o.setHtml(d.get(0),"",false)}function e(){o.histo...
V=setTimeout(e,_$_KEEP_ALIVE_$_000)}function k(d){if(!o.isIEMobile)document.title=d}function i(){if(!document.activeElement){function d(f){if(f&&f.target)document.activeElement=f.target==document?null:f.target}function c(){document.activeElement=null}document.addEventListener("focus",d,true);document.addEventListener("...
null){try{aa()}catch(c){}aa=null}}function K(){document.body.style.cursor="wait";aa=hideLoadingIndicator;showLoadingIndicator()}function u(d){ga=d}function q(d){if(d)window.execScript?window.execScript(d):window.eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function D(d,c,f){if(!Q){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$...
setTimeout(m.tm,c);else{m.timer=null;m.tm=null}m.onclick&&m.onclick()}},h=o.getElement(d);h.timer=setTimeout(k,c);h.tm=k}function D(d,c){setTimeout(function(){if(R[d]===true)c();else R[d]=c},20)}function M(d){if(R[d]!==true){typeof R[d]!=="undefined"&&R[d]();R[d]=true}}function l(d,c){var f=false;if(c!="")try{f=!eval("...
null){try{aa()}catch(c){}aa=null}}function K(){document.body.style.cursor="wait";aa=hideLoadingIndicator;showLoadingIndicator()}function u(d){ga=d}function q(d){if(d)window.execScript?window.execScript(d):window.eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function D(d,c,f){if(!Q){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$...
d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},h=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=j;z[h]=T(m,h);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(J!=nu...
d)}else G()}}function x(){J.abort();O=J=null;Q||G()}function A(d,c,f,j){o.checkReleaseCapture(d,f);_$_$if_STRICTLY_SERIALIZED_EVENTS_$_();if(!J){_$_$endif_$_();var m={},g=z.length;m.object=d;m.signal=c;m.event=f;m.feedback=j;z[g]=T(m,g);F();q();_$_$if_STRICTLY_SERIALIZED_EVENTS_$_()}_$_$endif_$_()}function F(){if(J!=nu...
d}function q(d){if(d)window.execScript?window.execScript(d):window.eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function D(d,c,f){if(!Q){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();q(c);_$_$ifnot_DEBUG_$_()}catch(j){alert("Wt internal error: "+j+", code: "+j.code+", description: "+j.description)}_$_$endif_$_();f&&...
d+=A[e].data}da=A;A=[];return{feedback:c,result:d}}function Y(){P=true;if(W){clearTimeout(W);W=null}var d=$("#Wt-timers");d.size()>0&&n.setHtml(d.get(0),"",false)}function a(){n.history._initTimeout();X==0&&y(null,"none",null,false);W=setTimeout(a,_$_KEEP_ALIVE_$_000)}function b(d){if(!n.isIEMobile)document.title=d}fun...
c+"shiftKey=1";d.data=e;return d}function S(){for(var d="",c=false,e=0;e<A.length;++e){c=c||A[e].feedback;d+=A[e].data}da=A;A=[];return{feedback:c,result:d}}function Y(){P=true;if(W){clearTimeout(W);W=null}var d=$("#Wt-timers");d.size()>0&&n.setHtml(d.get(0),"",false)}function a(){n.history._initTimeout();X==0&&y(null,...
d+=A[e].data}da=A;A=[];return{feedback:c,result:d}}function Y(){P=true;if(W){clearTimeout(W);W=null}var d=$("#Wt-timers");d.size()>0&&n.setHtml(d.get(0),"",false)}function a(){n.history._initTimeout();X==0&&y(null,"none",null,false);W=setTimeout(a,_$_KEEP_ALIVE_$_000)}function b(d){if(!n.isIEMobile)document.title=d}fun...
null}}function r(){document.body.style.cursor="wait";X=hideLoadingIndicator;showLoadingIndicator()}function t(d){ea=d}function C(d){if(d)if(window.execScript)window.execScript(d);else with(window)eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function D(d,c,e){if(!ba){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();C(c)...
h);j=j.substring(h,r);if(j.length!=0){c.dropTarget.setAttribute("dos",c.dropTarget.className);c.dropTarget.className=c.dropTarget.className+" "+j}}else c.object.styleClass="";if(e!=null){e.handleDragDrop&&e.handleDragDrop("end",c.object,d,"",i);j=e.getAttribute("dos");if(j!=null)e.className=j}}if(c.dropTarget)if(c.drop...
null}}function r(){document.body.style.cursor="wait";X=hideLoadingIndicator;showLoadingIndicator()}function t(d){ea=d}function C(d){if(d)if(window.execScript)window.execScript(d);else with(window)eval(d);_$_APP_CLASS_$_._p_.autoJavaScript()}function D(d,c,e){if(!ba){if(d==0){_$_$ifnot_DEBUG_$_();try{_$_$endif_$_();C(c)...
function H(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function Q(c){ca=c}function E(c){with(window){c&&eval(c);_$_APP_CLASS_$_._p_.autoJavaScript()}}function D(c,d,e){if(!X){if(c=...
function H(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function Q(c){ca=c}function E(c){if(c)if(window.execScript)window.execScript(c);else with(window)eval(c);_$_APP_CLASS_$_._p_....
function H(c){clearTimeout(c);document.body.style.cursor="auto";if(U!=null){try{U()}catch(d){}U=null}}function B(){document.body.style.cursor="wait";U=hideLoadingIndicator;showLoadingIndicator()}function Q(c){ca=c}function E(c){with(window){c&&eval(c);_$_APP_CLASS_$_._p_.autoJavaScript()}}function D(c,d,e){if(!X){if(c=...
if(O>1){Q=Math.ceil(O/2);R=Math.floor(O/2);S=M+Q;var T=new h(K.$.rows[S]),U=z(L,S),V;P=I.clone();for(var W=0;W<U.length;W++){V=U[W];if(V.parentNode==T.$&&W>N){P.insertBefore(new h(V));break;}else V=null;}if(!V)T.append(P,true);}else{R=Q=1;T=J.clone();T.insertAfter(J);T.append(P=I.clone());var X=z(L,M);for(var Y=0;Y<X.l...
J<F.length;J++){var K=F[J];if(typeof H=='undefined')I.push(K[G]);else if(H.is&&K[G]==H.$)return J;else if(J==H)return new h(K[G]);}return typeof H=='undefined'?I:H.is?-1:null;};function B(F,G,H){var I=n(F),J;if((G?I.length!=1:I.length<2)||(J=F.getCommonAncestor())&&J.type==1&&J.is('table'))return false;var K,L=I[0],M=L...
if(O>1){Q=Math.ceil(O/2);R=Math.floor(O/2);S=M+Q;var T=new h(K.$.rows[S]),U=z(L,S),V;P=I.clone();for(var W=0;W<U.length;W++){V=U[W];if(V.parentNode==T.$&&W>N){P.insertBefore(new h(V));break;}else V=null;}if(!V)T.append(P,true);}else{R=Q=1;T=J.clone();T.insertAfter(J);T.append(P=I.clone());var X=z(L,M);for(var Y=0;Y<X.l...
"",d=false,e=0;e<y.length;++e){d=d||y[e].feedback;c+=y[e].data}ga=y;y=[];return{feedback:d,result:c}}function z(){R=true;if(aa){clearTimeout(aa);aa=null}var c=$("#Wt-timers");c.size()>0&&h.setHtml(c.get(0),"",false)}function P(){h.history._initTimeout();ba==0&&u(null,"none",null,false);aa=setTimeout(P,_$_KEEP_ALIVE_$_0...
d+"rotation="+j.rotation;c.data=e;return c}function X(){for(var c="",d=false,e=0;e<y.length;++e){d=d||y[e].feedback;c+=y[e].data}ga=y;y=[];return{feedback:d,result:c}}function N(){R=true;if(aa){clearTimeout(aa);aa=null}var c=$("#Wt-timers");c.size()>0&&h.setHtml(c.get(0),"",false)}function z(){h.history._initTimeout();...
"",d=false,e=0;e<y.length;++e){d=d||y[e].feedback;c+=y[e].data}ga=y;y=[];return{feedback:d,result:c}}function z(){R=true;if(aa){clearTimeout(aa);aa=null}var c=$("#Wt-timers");c.size()>0&&h.setHtml(c.get(0),"",false)}function P(){h.history._initTimeout();ba==0&&u(null,"none",null,false);aa=setTimeout(P,_$_KEEP_ALIVE_$_0...
!g)return null;g||(g=++za);if(typeof b==="object"){a[B]=g;h=h[g]=d.extend(true,{},b)}else h=h[g]?h[g]:typeof e==="undefined"?Aa:(h[g]={});if(e!==v){a[B]=g;h[b]=e}return typeof b==="string"?h[b]:h}},removeData:function(a,b){if(!(a.nodeName&&d.noData[a.nodeName.toLowerCase()])){a=a==x?da:a;var e=a[B],g=d.cache,h=g[e];if(...
!f)return null;f||(f=++za);if(typeof b==="object"){a[B]=f;h=h[f]=c.extend(true,{},b)}else h=h[f]?h[f]:typeof e==="undefined"?Aa:(h[f]={});if(e!==v){a[B]=f;h[b]=e}return typeof b==="string"?h[b]:h}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==x?da:a;var e=a[B],f=c.cache,h=f[e];if(...
!g)return null;g||(g=++za);if(typeof b==="object"){a[B]=g;h=h[g]=d.extend(true,{},b)}else h=h[g]?h[g]:typeof e==="undefined"?Aa:(h[g]={});if(e!==v){a[B]=g;h[b]=e}return typeof b==="string"?h[b]:h}},removeData:function(a,b){if(!(a.nodeName&&d.noData[a.nodeName.toLowerCase()])){a=a==x?da:a;var e=a[B],g=d.cache,h=g[e];if(...
prevText: '{$lblPrevious}'
prevText: '{$lblPrevious}', showAnim: 'slideDown'
datefields: function() { // the default, nothing special if($('.inputDatefieldNormal').length > 0) { $('.inputDatefieldNormal').each(function() { var data = $(this).attr('rel').split(':::'); $(this).datepicker({ dateFormat: data[0], dayNames: ['{$locDayLongMon}', '{$locDayLongTue}', '{$locDay...
minDate: new Date(data[2].split('-')[0], parseInt(data[2].split('-')[1]) - 1, data[2].split('-')[2])
minDate: new Date(data[2].split('-')[0], parseInt(data[2].split('-')[1]) - 1, data[2].split('-')[2]), showAnim: 'slideDown'
datefields: function() { // the default, nothing special if($('.inputDatefieldNormal').length > 0) { $('.inputDatefieldNormal').each(function() { var data = $(this).attr('rel').split(':::'); $(this).datepicker({ dateFormat: data[0], dayNames: ['{$locDayLongMon}', '{$locDayLongTue}', '{$locDay...
maxDate: new Date(data[2].split('-')[0], parseInt(data[2].split('-')[1]) -1, data[2].split('-')[2])
maxDate: new Date(data[2].split('-')[0], parseInt(data[2].split('-')[1]) -1, data[2].split('-')[2]), showAnim: 'slideDown'
datefields: function() { // the default, nothing special if($('.inputDatefieldNormal').length > 0) { $('.inputDatefieldNormal').each(function() { var data = $(this).attr('rel').split(':::'); $(this).datepicker({ dateFormat: data[0], dayNames: ['{$locDayLongMon}', '{$locDayLongTue}', '{$locDay...
maxDate: new Date(data[3].split('-')[0], parseInt(data[3].split('-')[1]) - 1, data[3].split('-')[2])
maxDate: new Date(data[3].split('-')[0], parseInt(data[3].split('-')[1]) - 1, data[3].split('-')[2]), showAnim: 'slideDown'
datefields: function() { // the default, nothing special if($('.inputDatefieldNormal').length > 0) { $('.inputDatefieldNormal').each(function() { var data = $(this).attr('rel').split(':::'); $(this).datepicker({ dateFormat: data[0], dayNames: ['{$locDayLongMon}', '{$locDayLongTue}', '{$locDay...
conf = $.extend({}, tool.conf, conf);
conf = $.extend(true, {}, tool.conf, conf);
$.fn.dateinput = function(conf) { // already instantiated if (this.data("dateinput")) { return this; } // configuration conf = $.extend({}, tool.conf, conf); // CSS prefix $.each(conf.css, function(key, val) { if (!val && key != 'prefix') { conf.css[key] = (conf.css.prefix || '') + (val || key)...
var tmp = $("<input/>").attr("name", input.attr("name"));
var tmp = $("<input/>"); $.each("name,readonly,disabled,value".split(","), function(i, attr) { tmp.attr(attr, input.attr(attr)); });
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()) ...
.eq(1).attr("id", css.weeks).end().end()
.eq(1).attr("id", css.weeks).end().end().end()
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()) ...
if ($([75, 76, 38, 39, 74, 72, 40, 37]).index(key) >= 0) {
if ($(KEYS).index(key) >= 0) {
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()) ...
input.bind("focus click", self.show).keydown(function(e) {
input.bind("focus click", self.show).keypress(function(e) {
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()) ...
if (root.is(":hidden") && $([75, 76, 38, 39, 74, 72, 40, 37]).index(key) >= 0) {
if (root.is(":hidden") && $(KEYS).index(key) >= 0) {
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()) ...
value = rfc3339(input.attr("data-value") || conf.value || input.val()), min = rfc3339(input.attr("min")) || rfc3339(conf.min) || roll(value, -Math.abs(conf.min) || conf.yearRange[0] * 365), max = rfc3339(input.attr("max")) || rfc3339(conf.max) || roll(value, conf.max || conf.yearRange[1] * 365);
value = rfc3339(input.attr("data-value") || conf.value || input.val()) || new Date(), min = input.attr("min") || conf.min, max = input.attr("max") || conf.max; min = rfc3339(min) || roll(value, -Math.abs(min) || conf.yearRange[0] * 365); max = rfc3339(max) || roll(value, Math.abs(max) || conf.yearRange[1] * 365); ...
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
var tmp = $("<input/>").addClass(css.input).attr("name", input.attr("name"));
var tmp = $("<input/>").attr("name", input.attr("name"));
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
root = $('<div><div><a/><div/><a/></div><div/><div/></div>')
root = $('<div><div><a/><div/><a/></div><div><div/><div/></div></div>')
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
.eq(0).attr("id", css.head).end() .eq(1).attr("id", css.days).end() .eq(2).attr("id", css.weeks).end()
.eq(0).attr("id", css.head).end() .eq(1).attr("id", css.body).children() .eq(0).attr("id", css.days).end() .eq(1).attr("id", css.weeks).end().end()
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
$.each(labels.shortDays, function(i, el) { days.append($("<span>/").text(el)); });
for (var d = 0; d < 7; d++) { days.append($("<span>/").text(labels.shortDays[(d + conf.firstDay) % 7])); }
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
$(document).bind("keydown.dp", function(e) {
$(document).bind("keydown.d", function(e) {
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
$(window).bind("click.dp", function(e) {
$(window).bind("click.d", function(e) {
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
if (!$(el).parents("#" + css.root).length && el != input[0] && el != trigger[0]) {
if (!$(el).parents("#" + css.root).length && el != input[0] && (!trigger || el != trigger[0])) {
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
weeks.find(".week").each(function() {
weeks.find(css.week).each(function() {
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
$(window).unbind("click.dp"); $(document).unbind("keydown.dp");
$(window).unbind("click.d"); $(document).unbind("keydown.d");
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
input.focus(self.show).keydown(function(e) {
input.bind("focus click", self.show).keydown(function(e) {
function Dateinput(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), trigger, pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || conf.value || input.val()),...
input.focus(function() { $.each(instances, function() { this.hide(); }); self.show(); }).keydown(function(e) { input.blur(); });
function Datepicker(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || input.val()), min = rfc3339(input.a...
function setupKeyboard() { $(document).bind("keydown.dp", function(e) { var key = e.keyCode; if (key == 27) { return self.hide(); } if ($([75, 76, 38, 39, 74, 72, 40, 37]).index(key) != -1) { var days = $("#" + css.weeks + " a"), el = $("." + css.focus), index = days.index(el); el.removeClass(css.focus); if (...
function Datepicker(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || input.val()), min = rfc3339(input.a...
var pos = input.offset(), h = root.height(), w = root.width();
var pos = input.offset();
function Datepicker(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || input.val()), min = rfc3339(input.a...
left: pos.left + conf.offset[1], width: 0, height: 0, opacity: 0 }).animate({height: h, width: w, opacity: 1}, conf.speed, conf.easing, function() { $(document).bind("keydown.dp", function(e) { var key = e.keyCode; if (key == 27) { return self.hide(); } if ($([75, 76, 38, 39, 74, 72, 40, 37]).index(key) != -1)...
left: pos.left + conf.offset[1] }); if (conf.speed) { root.show(conf.speed, setupKeyboard); } else { root.show(); setupKeyboard(); }
function Datepicker(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || input.val()), min = rfc3339(input.a...
input.focus(self.show).keydown(function(e) { var key = e.keyCode; return key == 9 || key == 27; }); trigger.click(self.show);
function Datepicker(input, conf) { // variables var self = this, css = conf.css, labels = LABELS[conf.lang], root = $("#" + css.root), title = root.find("#" + css.title), pm, nm, currYear, currMonth, currDay, value = rfc3339(input.attr("data-value") || input.val()), min = rfc3339(input.a...
var a=e.getElement(i);a&&a.focus()}};this.delayHide=function(a){B=setTimeout(function(){B=null;if(f&&(a==null||i==a.id))d()},300)}});
0;n=a.id}a.className="sel";F(a)}};this.editKeyUp=function(a,b){if(i!=null)if(c(a))if(!((b.keyCode==13||b.keyCode==9)&&f.style.display=="none"))if(b.keyCode==27||b.keyCode==37||b.keyCode==39){f.style.display="none";if(b.keyCode==27){i=null;$(a).hasClass("Wt-suggest-dropdown")?d():a.blur()}}else if(a.value!=D)A.refilter(...
var a=e.getElement(i);a&&a.focus()}};this.delayHide=function(a){B=setTimeout(function(){B=null;if(f&&(a==null||i==a.id))d()},300)}});
var t = e.target || e.srcElement, p = t;
var t = WT.target(e), p = t;
function delegateCapture(e) { if (captureElement == null) return null; if (!e) e = window.event; if (e) { var t = e.target || e.srcElement, p = t; while (p && p != captureElement) p = p.parentNode; /* * We don't need to capture the event when the event falls inside the * capture element. In ...
}.bind(this)
}.bind(this), onFailure: indicateFail
deletePackage: function(event) { indicateLoad(); new Request({ method: 'get', url: '/json/remove_package/'+this.id, onSuccess: function(){ this.ele.nix(); indicateFinish(); }.bind(this) }).send(); event.stop(); ...
$.post("/studydeck/decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");});
$.post("/decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");});
function deleteUserDeck(deckId, permanently){ if (permanently) { $.post("/studydeck/decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");}); } else { $.post("/studydeck/my_decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");}); } }
$.post("/studydeck/my_decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");});
$.post("/my_decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");});
function deleteUserDeck(deckId, permanently){ if (permanently) { $.post("/studydeck/decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");}); } else { $.post("/studydeck/my_decks/delete",{id:deckId},function(){$("#userDeckRow"+ deckId).hide("fast");}); } }
s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins;if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var...
x.plugins=D;for(var H in D){var I=D[H],J=I.lang,K=j.getPath(H),L=null;I.path=K;if(J){L=e.indexOf(J,x.langCode)>=0?x.langCode:J[0];if(!I.lang[L])G.push(a.getUrl(K+'lang/'+L+'.js'));else{e.extend(x.lang,I.lang[L]);L=null;}}F.push(L);E.push(I);}a.scriptLoader.load(G,function(){var M=['beforeInit','init','afterInit'];for(v...
s(x);});},s=function(x){var y=x.config,z=y.plugins,A=y.extraPlugins,B=y.removePlugins;if(A){var C=new RegExp('(?:^|,)(?:'+A.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');z+=','+A;}if(B){C=new RegExp('(?:^|,)(?:'+B.replace(/\s*,\s*/g,'|')+')(?=,|$)','g');z=z.replace(C,'');}j.load(z.split(','),function(D){var...
editing = false;
function destroyElement() { // get parent var parent = options.current.element.parent(); // set HTML and rebind events parent.html(options.current.element.val()) .bind('click focus', createElement); // add class parent.removeClass('inlineEditing'); }
this.each(function(h){var k=d(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;d(this).remove();b?d(b).before(a):d(e).append(a)}):this.push...
1){M(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}else c.isFunction(a)?this.each(function(h){var k=c(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.eac...
this.each(function(h){var k=d(this),l=k.html();k.empty().append(function(){return a.call(this,h,l)})}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?this.each(function(){var b=this.nextSibling,e=this.parentNode;d(this).remove();b?d(b).before(a):d(e).append(a)}):this.push...
if (container === undefined || container == null) return;
detachMRUpopup: function () { alert("detach"); var container = this._currentWindow.document.getElementById("KeeFox_ChangeDB-Button"); //var popupContainer = this._currentWindow.document.getElementById("KeeFox_ChangeDB-Popup"); // Remove all of the existing popup containers for...
var i=a.config;a.focusManager=function(j){if(j.focusManager)return j.focusManager;this.hasFocus=false;this._={editor:j};return this;};a.focusManager.prototype={focus:function(){var k=this;if(k._.timer)clearTimeout(k._.timer);if(!k.hasFocus){if(a.currentInstance)a.currentInstance.focusManager.forceBlur();var j=k._.edito...
j.forceBlur();},100);},forceBlur:function(){if(this.hasFocus){var j=this._.editor;j.container.getChild(1).removeClass('cke_focus');this.hasFocus=false;j.fire('blur');}}};(function(){var j={};a.lang={languages:{af:1,ar:1,bg:1,bn:1,bs:1,ca:1,cs:1,cy:1,da:1,de:1,el:1,'en-au':1,'en-ca':1,'en-gb':1,en:1,eo:1,es:1,et:1,eu:1,...
var i=a.config;a.focusManager=function(j){if(j.focusManager)return j.focusManager;this.hasFocus=false;this._={editor:j};return this;};a.focusManager.prototype={focus:function(){var k=this;if(k._.timer)clearTimeout(k._.timer);if(!k.hasFocus){if(a.currentInstance)a.currentInstance.focusManager.forceBlur();var j=k._.edito...
if (!name) { return false; }
function detectImport() { var name = Zotero.getXML().name(); return name.uri == "http://www.loc.gov/mods/v3" && (name.localName == "modsCollection" || name.localName == "mods");}