rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
Ext.MessageBox.hide();
importSettingsSuccess : function (form, action) { Ext.MessageBox.wait(i18n._("Importing Settings..."), i18n._("Please wait")); if(!action.result.success) { Ext.MessageBox.alert(i18n._("Warning"), i18n._(action.result.msg)); } else { this.grid.onImport(this.importMode, acti...
that.setControlsStatesAtDownloadStart = function () { var selectionControls = that.locate("selectionsContainer"); $(selectionControls).find('input').attr("disabled", "disabled"); var compressionControls = that.locate("compressionControls"); $(compressionControls).find('input').attr("disabled", "disabled"); that.locate...
fluid.infusionBuilder = function (container, options) { var that = fluid.initView("fluid.infusionBuilder", container, options); setupInfusionBuilder(that); return that; };
var meta_url = l(pootle.editor.store + "/meta/" + pootle.editor.active_uid); $.ajax({ url: meta_url, async: false, dataType: 'json', success: function(data) { pootle.editor.meta = data.meta; pootle.editor.pager = data.pager; pootle.editor.current_page = data.pager.number; }, });
pootle.editor.get_meta();
pootle.editor.init = function() { pootle.editor.units = {}; pootle.editor.store = $("div#store").text(); pootle.editor.active_uid = $("#active_uid").text(); pootle.editor.pages_got = {}; /* Ugly hack to avoid JS templates from being interpreted by Django. */ $("script[type=text/x-jquery-template]")....
pootle.editor.get_view_units(pootle.editor.store);
pootle.editor.init = function() { pootle.editor.units = {}; pootle.editor.store = $("div#store").text(); pootle.editor.active_uid = $("#active_uid").text(); pootle.editor.pages_got = {}; /* Ugly hack to avoid JS templates from being interpreted by Django. */ $("script[type=text/x-jquery-template]")....
$("a[id^=editlink]").live("click", PTL.editor.goto_unit);
$("tr.view-row").live("click", PTL.editor.goto_unit);
init: function(options) { /* Default settings */ this.settings = { secure: false, mt: [] }; /* Merge given options with default settings */ if (options) { $.extend(this.settings, options); } /* Initialize variables */ this.units = {}; this.store = $("div#pootle_path").text();...
rpc.jsonrpc = new JSONRpcClient( "/webui/JSON-RPC" ); oemName = rpc.jsonrpc.RemoteUvmContext.oemManager().getOemName();
oemName = rpc.setup.getOemName();
init : function() { if ( this.isInitialized == true ) { return; } this.isInitialized = true; Ext.WindowMgr.zseed = 20000; rpc = {}; /* Initialize the timezone data */ for ( var i = 0; i < Ung.TimeZoneData.length; i++) { Ung.SetupWizard.TimeZo...
this.toggleRequired();
init: function() { var item, target, table = $("#pfg-qetable tbody"); var initPos, finalPos; var fixHelper = function(e, ui) { ui.children().each(function() { $(this).width($(this).width()); }); return ui; }; table.sortable({ start: function (event, ui) { ui.placeholder.html('<t...
ed.onMouseDown.add(function(ed, e) { var el = tinyMCE.activeEditor.selection.getNode(); if (el.nodeName == 'IMG') { prepareImage(ed, e.target); } return true; }); ed.onMouseUp.add(function(ed, e) { var el = tinyMCE.activeEditor.selection.getNode(); if (el.nodeName == 'IMG') { setTimeout(function() { constrainSize(e...
ed.onMouseDown.add(function(ed, e) { var el = tinyMCE.activeEditor.selection.getNode(); if (el != null && el.nodeName == 'IMG') { prepareImage(ed, e.target); } return true; }); ed.onMouseUp.add(function(ed, e) { var el = tinyMCE.activeEditor.selection.getNode(); if (el != null && el.nodeName == 'IMG') { setTimeout(...
init : function(ed, url) { // Watch for mousedown (as a fall through to ensure that prepareImage() definitely // got called on an image tag before mouseup). // // Normally this should have happened via the onPreProcess/onSetContent listeners, but // for completeness we check once more here in case the...
if (trsrc != dropped) {
if (trsrc != dropped && trsrc.id.sub(/_\d+$/, '') == dropped.id.sub(/_\d+$/, '')) {
init: function() { document.observe('keydown', function(event) { if (event.keyCode == 16) window.shiftPressed = 1; }); document.observe('keyup', function(event) { if (event.keyCode == 16 || event.which == 16) window.shiftPressed = 0; }); document.observe('dom:loaded', function() { menu = new SubMenu('submen...
i = parseInt(id.split("page")[1]);
i = parseInt(id.split("page")[1], 10);
init: function () { this.chart.setCanvas($('#trafic-live-chart')); this.chart.resolution = "sec"; this.chart.settings = { legend: { noColumns: 3, container: $('#chart-legend')}, colors: ["#FF9900", "#7297BA", "#6f3"], yaxis: { min: 0, tickDecimals: 0}, xaxis: { ticks: [[0, "1 min ago"], [...
init:function(Y) { this.Y = Y; this.Y.augment(M.core_dock.item, this.Y.EventTarget); this.Y.augment(M.core_dock, this.Y.EventTarget, true); M.core_dock.apply_binds(); if (typeof(customise_dock_for_theme) === 'function') { customise_dock_for_theme(); } },
init : function(Y) { this.Y = Y; M.core_dock.on('dock:itemadded', this.check_if_required, this); M.core_dock.on('dock:itemremoved', this.check_if_required, this); this.Y.on('windowresize', this.check_if_required, this); },
init:function(Y) { this.Y = Y; // Give the dock item class the event properties/methods this.Y.augment(M.core_dock.item, this.Y.EventTarget); this.Y.augment(M.core_dock, this.Y.EventTarget, true); // Re-apply early bindings properly now that we can M.core_dock.apply_binds()...
ui.children().each(function() { $(this).width($(this).width()); });
ui.children().each(function() { $(this).clone(true); });
init: function() { var item, target, table = $("#pfg-qetable tbody"); var initPos, finalPos; var fixHelper = function(e, ui) { ui.children().each(function() { $(this).width($(this).width()); }); return ui; }; table.sortable({ start: function (event, ui) { ui.placeholder.html('<t...
helper: fixHelper,
helper: 'clone',
init: function() { var item, target, table = $("#pfg-qetable tbody"); var initPos, finalPos; var fixHelper = function(e, ui) { ui.children().each(function() { $(this).width($(this).width()); }); return ui; }; table.sortable({ start: function (event, ui) { ui.placeholder.html('<t...
Ext.ComponentMgr.monitorAjax();
init : function() { Ext.QuickTips.init(); if (this.lazyLoading) { Ext.ComponentMgr.allowJSRemoteLoad = true; Ext.ComponentMgr.allowCSSRemoteLoad = true; Ext.ComponentMgr.remoteLoadBaseURL = this.moduleURLPrefix; } Ext.ComponentMgr.monitorAjax(); if (this.appLayout) { this.on('loaded', function() { ...
} else { Ext.ComponentMgr.monitorAjax();
init : function() { Ext.QuickTips.init(); if (this.lazyLoading) { Ext.ComponentMgr.allowJSRemoteLoad = true; Ext.ComponentMgr.allowCSSRemoteLoad = true; Ext.ComponentMgr.remoteLoadBaseURL = this.moduleURLPrefix; } Ext.ComponentMgr.monitorAjax(); if (this.appLayout) { this.on('loaded', function() { ...
if (cfg.showOnFieldClick) { YAHOO.util.Event.addListener(cfg.widgetId, "click", showCalendar, YAHOO.wicket[cfg.dpJs], true); }
Wicket.DateTime.init = function(cfg) { cfg.dpJs = cfg.widgetId + "DpJs"; cfg.dp = cfg.widgetId + "Dp"; cfg.icon = cfg.widgetId +"Icon"; YAHOO.namespace("wicket"); if (cfg.calendarInit.pages && cfg.calendarInit.pages > 1) { YAHOO.wicket[cfg.dpJs] = new YAHOO.widget.CalendarGroup(cfg.dpJs,cfg.dp, cfg.calendarInit); } ...
WireIt.WiringEditor.adapters.JsonRpc.config.url = "../../../editor/backend/php/WiringEditor.php";
init: function() { this.editor = new jsBox.WiringEditor(this.language); // Open the infos panel editor.accordionView.openPanel(2); },
$("img.ajax-loader").css('visibility', 'visible');
$("img.ajax-loader").css('visibility', 'visible'); $(item).width($(item).width());
init: function() { var item, target, table = $("#pfg-qetable"); var initPos, finalPos; // initial and final positions of element being sorted (dragged) var i = 0; // counter of newly added elements to the form $("div.qefield").each(function() { $(this).height($(this).height()); // workaround for children's hei...
containment: 'document'
init: function() { var item, target, table = $("#pfg-qetable"); var initPos, finalPos; // initial and final positions of element being sorted (dragged) var i = 0; // counter of newly added elements to the form $("div.qefield").each(function() { $(this).height($(this).height()); // workaround for children's hei...
init : function() { M.blocks.dock.on('dock:itemadded', this.check_if_required, this); M.blocks.dock.on('dock:itemremoved', this.check_if_required, this); Y.on('windowresize', this.check_if_required, this); },
init:function(Y) { this.Y = Y; this.Y.augment(M.core_dock.item, this.Y.EventTarget); this.Y.augment(M.core_dock, this.Y.EventTarget, true); M.core_dock.apply_binds(); if (typeof(customise_dock_for_theme) === 'function') { customise_dock_for_theme(); } },
init : function() { M.blocks.dock.on('dock:itemadded', this.check_if_required, this); M.blocks.dock.on('dock:itemremoved', this.check_if_required, this); Y.on('windowresize', this.check_if_required, this); },
pootle.editor.active_uid = uid;
pootle.editor.init = function() { pootle.editor.units = {}; pootle.editor.store = $("div#store").text(); pootle.editor.active_uid = $("#active_uid").text(); pootle.editor.pages_got = {}; /* Ugly hack to avoid JS templates from being interpreted by Django. */ $("script[type=text/x-jquery-template]")....
pootle.editor.active_uid = uid;
pootle.editor.init = function() { pootle.editor.units = {}; pootle.editor.store = $("div#store").text(); pootle.editor.active_uid = $("#active_uid").text(); pootle.editor.pages_got = {}; /* Ugly hack to avoid JS templates from being interpreted by Django. */ $("script[type=text/x-jquery-template]")....
return !$(obj).parent().hasClass('widgets') && !$(obj).hasClass('widget');
return !$(obj).parent().hasClass('widgets') && !$(obj).hasClass('w-field');
init: function() { var item, target, table = $("#pfg-qetable"); var initPos, finalPos; var i = 0; // counter of newly added elements var fixHelper = function(e, ui) { ui.children().each(function() { // $(this).clone(true); $(this).width($(this).width()); }); return ui; }; $("div.qefield...
$(document).ajaxError(function(event, request, settings) { $("img.ajax-loader").css('visibility', 'hidden'); alert("The has been an AJAX error on requesting page: " + settings.url); });
init: function() { var item, target, table = $("#pfg-qetable tbody"); var initPos, finalPos; var fixHelper = function(e, ui) { ui.children().each(function() { $(this).clone(true); // $(this).width($(this).width()); }); return ui; }; table.sortable({ start: function (event, ui) { ...
this.adjustLayout(); pages = $("#pages");
init: function () { this.chart.setCanvas($('#trafic-live-chart')); this.chart.resolution = "sec"; this.chart.settings = { legend: { noColumns: 3, container: $('#chart-legend')}, colors: ["#FF9900", "#7297BA", "#6f3"], yaxis: { min: 0, tickDecimals: 0}, xaxis: { ticks: [[0, "1 min ago"], [...
this.adjustLayout();
init: function () { this.chart.setCanvas($('#trafic-live-chart')); this.chart.resolution = "sec"; this.chart.settings = { legend: { noColumns: 3, container: $('#chart-legend')}, colors: ["#FF9900", "#7297BA", "#6f3"], yaxis: { min: 0, tickDecimals: 0}, xaxis: { ticks: [[0, "1 min ago"], [...
$.getJSON('chart_demo/data/output1.json', function(data) { initData(data); initBindings(); updatePlot(true); });
var testruns = JSON.parse(window.location.hash.split("=")[1]); for (var i=0; i < testruns.length; i++) { var run = testruns[i]; var id = run[0]; var branchid = run[1]; var machineid = run[2]; debug(machineid); $.getJSON('http: data = fixData(data, xhr); debug(machineid); initData(data); initBindings(); updatePlot(tru...
function init() { $('.selectBox').selectBox(); initPlot(); $.getJSON('chart_demo/data/output1.json', function(data) { initData(data); initBindings(); updatePlot(true); }); }
runNextJob();
function init(){ loadJobs(); //load jobs from permanent storage calculateJobs(); //TODO recalculate jobs on every run/change, reload jobs on every job change }
console.log("Error: Conflict when adding block " + data.blocks[i].uid + "(" + data.blocks[i].text + ") to section " + data.section.emailcode);
console.log("Error: Conflict when adding block " + data.blocks[i].room.text + " (" + data.blocks[i].time.text + ") to section " + data.section.code);
function init(test_data_set){ // ensure event manager is empty before we begin setting up ESP.Utilities.evm.unbind(); var pd = this.data = process_data(test_data_set); if (!this.status) { this._status = new ESP.Scheduling.Widgets.StatusBar('#statusbar'); this.status = this._status.setStatus.bind(this._stat...
this.raw_data = test_data_set;
function init(test_data_set){ // ensure event manager is empty before we begin setting up ESP.Utilities.evm.unbind(); var pd = this.data = process_data(test_data_set); if (!this.status) { this._status = new ESP.Scheduling.Widgets.StatusBar('#statusbar'); this.status = this._status.setStatus.bind(this._stat...
var args = window.location.hash.split("=")[1];
var args = window.location.hash.split('=')[1];
function init() { $('.selectBox').selectBox(); initPlot(); var args = window.location.hash.split("=")[1]; if (args) { var testruns = JSON.parse(args); for (var i=0; i < testruns.length; i++) { var run = testruns[i]; ...
jQuery('input', propertyDiv).val(existing.property);
function init_existing_property(existing, name_prefix, property, propertyDiv, valueDiv, operatorSelect) { property.val(existing.property); switch(existing.property) { case 'application': init_property_application(name_prefix, valueDiv, operatorSelect, existing); break; case 'country': init_property_country...
operatorSelect.html(op_all());
if (operatorSelect) { operatorSelect.html(op_all()); }
function init_property_other(name_prefix, propertyDiv, valueDiv, operatorSelect, existing) { propertyDiv.html('<input type="text" name="' + name_prefix +'[property]"/>'); operatorSelect.html(op_all()); valueDiv.html('<input type="text" name="' + name_prefix +'[value]"/>'); if (existing) { jQuery('input', prope...
operatorSelect.val(existing.operator);
if (operatorSelect) { operatorSelect.val(existing.operator); }
function init_property_other(name_prefix, propertyDiv, valueDiv, operatorSelect, existing) { propertyDiv.html('<input type="text" name="' + name_prefix +'[property]"/>'); operatorSelect.html(op_all()); valueDiv.html('<input type="text" name="' + name_prefix +'[value]"/>'); if (existing) { jQuery('input', prope...
var isStandard = 'keyCode' in evt; var key = isStandard?evt.keyCode:evt.which;
if(!evt) evt=window.event; var key = ('keyCode' in evt) ? evt.keyCode : ('which' in evt) ? evt.which : evt.charCode;
initBox: function(parentElement) { if(parentElement!=undefined && parentElement!=null) { var thedoc = parentElement.ownerDocument; var loginBox = thedoc.createElement('div'); this.loginBox = loginBox; loginBox.setAttribute('style','padding-bottom: 0pt;'); loginBox.className = 'sidemenu'; // Head var ...
}
return false; } return true;
initBox: function(parentElement) { if(parentElement!=undefined && parentElement!=null) { var thedoc = parentElement.ownerDocument; var loginBox = thedoc.createElement('div'); this.loginBox = loginBox; loginBox.setAttribute('style','padding-bottom: 0pt;'); loginBox.className = 'sidemenu'; // Head var ...
}
return false; } return true; },false); WidgetCommon.addEventListener(form,'submit',function(evt) { if(!evt) evt=window.event; evt.cancelBubble = true; if('stopPropagation' in evt) evt.stopPropagation(); if('preventDefault' in evt) evt.preventDefault(); return false;
initBox: function(parentElement) { if(parentElement!=undefined && parentElement!=null) { var thedoc = parentElement.ownerDocument; var loginBox = thedoc.createElement('div'); this.loginBox = loginBox; loginBox.setAttribute('style','padding-bottom: 0pt;'); loginBox.className = 'sidemenu'; // Head var ...
var errorSVG = WidgetCommon.createSVG('/style/dialog-error.svg',errorMiddle);
try { var errorSVG = WidgetCommon.createSVG('/style/dialog-error.svg',errorMiddle); } catch(e) { }
initBox: function(parentElement) { if(parentElement!=undefined && parentElement!=null) { var thedoc = parentElement.ownerDocument; var loginBox = thedoc.createElement('div'); this.loginBox = loginBox; loginBox.setAttribute('style','padding-bottom: 0pt;'); loginBox.className = 'sidemenu'; // Head var ...
input = thedoc.createElement('input'); this.passField = input; input.setAttribute('type','password'); input.setAttribute('name','password'); td.appendChild(input);
var inputpass = thedoc.createElement('input'); this.passField = inputpass; inputpass.setAttribute('type','password'); inputpass.setAttribute('name','password'); td.appendChild(inputpass); WidgetCommon.addEventListener(input,'keydown',function(evt) { var isStandard = 'keyCode' in evt; var key = isStandard?evt.keyCode:...
initBox: function(parentElement) { if(parentElement!=undefined && parentElement!=null) { var thedoc = parentElement.ownerDocument; var loginBox = thedoc.createElement('div'); this.loginBox = loginBox; loginBox.setAttribute('style','padding-bottom: 0pt;'); loginBox.className = 'sidemenu'; // Head var ...
var thisBox=this;
initBox: function(parentElement) { if(parentElement!=undefined && parentElement!=null) { var thedoc = parentElement.ownerDocument; var loginBox = thedoc.createElement('div'); this.loginBox = loginBox; loginBox.setAttribute('style','padding-bottom: 0pt;'); loginBox.className = 'sidemenu'; // Head var ...
initCenter: function(info) { var has_features = false; for (key in info) { if (this['vectorLayer'+key].features.length > 0) { has_features = true; break;} } if (this.opts.zoomToDataExtent && has_features) { for( var index=0, n=this.vectorLayers.length; index < n; index++ ){ if (this[this.vectorLayers[index]].features.l...
initCenter: function() { if (this.opts.zoomToDataExtent && this.vectorLayer.features.length > 0) {
initCenter: function(info) { var has_features = false; for (key in info) { if (this['vectorLayer'+key].features.length > 0) { has_features = true; break;} } if (this.opts.zoomToDataExtent && has_features) { for( var index=0, n=this.vectorLayers.length; index < n; in...
for( var index=0, n=this.vectorLayers.length; index < n; index++ ){ for (var i = 0; i < this[this.vectorLayers[index]].features.length; i++) { for (var j = 0; j < this[this.vectorLayers[index]].features[i].cluster.length; j++) { extent.extend(this[this.vectorLayers[index]].features[i].cluster[j].geometry.getBounds()); ...
var extent = this.vectorLayer.features[0].geometry.getBounds(); for (var i = 0; i < this.vectorLayer.features.length; i++) { for (var j = 0; j < this.vectorLayer.features[i].cluster.length; j++) { extent.extend(this.vectorLayer.features[i].cluster[j].geometry.getBounds());
initCenter: function(info) { var has_features = false; for (key in info) { if (this['vectorLayer'+key].features.length > 0) { has_features = true; break;} } if (this.opts.zoomToDataExtent && has_features) { for( var index=0, n=this.vectorLayers.length; index < n; in...
for( var index=0, n=this.vectorLayers.length; index < n; index++ ){ extent.extend(this[this.vectorLayers[index]].getDataExtent()); } this.zoomToExtent(extent);
this.zoomToExtent(this.vectorLayer.getDataExtent());
initCenter: function(info) { var has_features = false; for (key in info) { if (this['vectorLayer'+key].features.length > 0) { has_features = true; break;} } if (this.opts.zoomToDataExtent && has_features) { for( var index=0, n=this.vectorLayers.length; index < n; in...
if (this.vectorLayer.features.length == 1 &&
if (this.opts.cluster) { var extent = this.vectorLayer.features[0].geometry.getBounds(); for (var i = 0; i < this.vectorLayer.features.length; i++) { for (var j = 0; j < this.vectorLayer.features[i].cluster.length; j++) { extent.extend(this.vectorLayer.features[i].cluster[j].geometry.getBounds()); } } this.zoomToExtent...
initCenter: function() { if (this.opts.zoomToDataExtent && this.vectorLayer.features.length > 0) { if (this.vectorLayer.features.length == 1 && this.vectorLayer.features[0].geometry.CLASS_NAME == "OpenLayers.Geometry.Point") { this.setCenter(this.vectorLayer.featu...
if (this.opts.zoomToDataExtent && this.vectorLayers.length > 0) {
if (this.opts.zoomToDataExtent) {
initCenter: function() { if (this.opts.zoomToDataExtent && this.vectorLayers.length > 0) { var extent = new OpenLayers.Bounds(); for (var i = 0; i < this.vectorLayers.length; i++) { var vl = this.vectorLayers[i]; if (vl.opts.cluster || this.opts.cluster) { ...
this.zoomToExtent(extent); } else { this.setCenter(this.opts.default_center, this.opts.defaultZoom);
if (!extent.equals(new OpenLayers.Bounds())) { this.zoomToExtent(extent); this.zoomTo(Math.min(this.getZoom(), this.opts.defaultZoom)); return; }
initCenter: function() { if (this.opts.zoomToDataExtent && this.vectorLayers.length > 0) { var extent = new OpenLayers.Bounds(); for (var i = 0; i < this.vectorLayers.length; i++) { var vl = this.vectorLayers[i]; if (vl.opts.cluster || this.opts.cluster) { ...
this.setCenter(new OpenLayers.LonLat(this.opts.defaultLon, this.opts.defaultLat), this.opts.defaultZoom);
initCenter: function() { if (this.opts.zoomToDataExtent && this.vectorLayers.length > 0) { var extent = new OpenLayers.Bounds(); for (var i = 0; i < this.vectorLayers.length; i++) { var vl = this.vectorLayers[i]; if (vl.opts.cluster || this.opts.cluster) { ...
this.zoomTo(Math.min(this.getZoom(), this.opts.defaultZoom));
initCenter: function() { if (this.opts.zoomToDataExtent) { var extent = new OpenLayers.Bounds(); for (var i = 0; i < this.vectorLayers.length; i++) { var vl = this.vectorLayers[i]; if (vl.opts.cluster || this.opts.cluster) { for (var j = ...
data: this.allowedTypes, fields: ["value", "name"]
fields: ["value", "name"], data: this.allowedTypes
initComponent: function() { var defConfig = { displayField: "name", valueField: "value", store: new Ext.data.SimpleStore({ data: this.allowedTypes, fields: ["value", "name"] }), value: (this.value === undefined) ? this.allow...
mode: 'local', lastQuery: '',
initComponent: function() { var defConfig = { displayField: "name", valueField: "value", store: new Ext.data.SimpleStore({ data: this.allowedTypes, fields: ["value", "name"] }), value: (this.value === undefined) ? this.allow...
while(el) {
while(el && added[el.id] !== true) { added[el.id] = true;
initComponent : function() { //get all elements with HTML elements var elements = (this.elements.length) ? Ext.select('#'+this.elements.join(',#'), true, this.document) : new Ext.CompositeElement(); this.elements = new Ext.CompositeElement(); elements.each(function(el){ if (!el.hasClass('atm-block-helper')) { ...
activeTab: 2,
activeTab: 0,
initComponent: function() { var config = { activeTab: 2,// hideBorders: true,// hideLabel: true,// bodyBorder: false, border: false, defaults: { autoHeight: true }, items: this._getMenuItems() }; Ext.apply(this, config); TYPO3.Newsletter.Statistics.StatisticsPanel.superclass.initComponent.call...
{ xtype: 'TYPO3.Newsletter.Statistics.NoStatisticsPanel', ref: 'noStatisticsPanel' },
initComponent: function() { var config = { items: [ { xtype: 'TYPO3.Newsletter.Statistics.NewsletterListMenu', ref: 'newsletterListMenu' }, { xtype: 'TYPO3.Newsletter.Statistics.StatisticsPanel', ref: 'statisticsPanel' } ] }; Ext.apply(this, config); TYPO3.Newsletter.Statistics.Modu...
this.breadcrumbs = [{ title : i18n._("Configuration"), action : function() { this.cancelAction(); }.createDelegate(this) }, { title : i18n._("System") }]; this.companyName=main.getBrandingBaseSettings().companyName; this.buildSupport(); this.buildBackup(); this.buildRestore(); this.buildProtocolSettings(); this.buildRe...
this.rowEditor = new Ung.RowEditorWindow({ grid : this, sizeToGrid : true, inputLines : this.customInputLines, rowEditorLabelWidth:120, populate : function(record, addMode) { this.addMode=addMode; this.record = record; this.initialRecordData = Ext.encode(record.data); for (var i = 0; i < this.inputLines.length; i++) { ...
initComponent : function() { this.breadcrumbs = [{ title : i18n._("Configuration"), action : function() { this.cancelAction(); }.createDelegate(this) }, { title : i18n._("System") }]; this....
try { this.pageParameters = Ext.util.JSON.decode( this.getBaseSettings().pageParameters ); } catch ( e ) { Ext.MessageBox.alert(this.i18n._("Warning"), this.i18n._("The current settings have an error, previous values may be lost.")); this.pageParameters = {}; } this.initialPageParameters = Ung.Util.clone(this.pagePar...
initComponent : function() { Ung.Util.clearInterfaceStore(); // keep initial base settings this.initialBaseSettings = Ung.Util.clone(this.getBaseSettings()); // builds the tabs this.buildCaptiveHosts(); this.buildPassedHosts();...
}
};
initComponent : function(container, position) { this.configState=this.getRpcNode().getConfigState(); this.buildStatus(); var tabs = [this.panelStatus]; /* Register the VTypes, need i18n to be initialized for the text */ if(Ext.form.VTypes["openvpnClientName...
var defAttributesComboConfig = {
this.attributesComboConfig = {
initComponent: function() { if(!this.attributes) { this.attributes = new GeoExt.data.AttributeStore(); } var defAttributesComboConfig = { xtype: "combo", store: this.attributes, mode: 'local', editable: false, triggerAction: ...
}, width: 120
}
initComponent: function() { if(!this.attributes) { this.attributes = new GeoExt.data.AttributeStore(); } var defAttributesComboConfig = { xtype: "combo", store: this.attributes, mode: 'local', editable: false, triggerAction: ...
this.attributesComboConfig = this.attributesComboConfig || {}; Ext.applyIf(this.attributesComboConfig, defAttributesComboConfig);
if (this.filterPanelOptions) { if (this.filterPanelOptions.values) { this.storeUriProperty = this.filterPanelOptions.values.storeUriProperty; this.storeOptions = Ext.apply({}, this.filterPanelOptions.values.storeOptions); this.comboOptions = Ext.apply({}, this.filterPanelOptions.values.comboOptions); } if (this.filterP...
initComponent: function() { if(!this.attributes) { this.attributes = new GeoExt.data.AttributeStore(); } var defAttributesComboConfig = { xtype: "combo", store: this.attributes, mode: 'local', editable: false, triggerAction: ...
layout: 'fit',
initComponent: function() { var defConfig = { plain: true, border: false }; Ext.applyIf(this, defConfig); if(!this.filter) { this.filter = this.createDefaultFilter(); } this.items = this.createFilterItems(); th...
var uniqueSeries = "series_"+testid+"_"+branchid+"_"+platformid;
var uniqueSeries = 'series_' + testid + '_' + branchid + '_' + platformid;
function initData(testid,branchid,platformid,data) { var uniqueSeries = "series_"+testid+"_"+branchid+"_"+platformid; ajaxSeries = data; ajaxSeries.exploded = false; ajaxSeries.visible = true; allSeries[uniqueSeries] = ajaxSeries; }
listItem = galleryList.find("li");
that.initDragAndDrop = function (newModel, oldModel, pager) { var galleryList, listItem; // DOM Caching. galleryList = pager.container.find(that.options.selectors.galleryList); listItem = galleryList.find("li"); // Set gallery items ...
that.makeDraggable(listItem);
if (galleryList.attr("id") !== that.options.useContentPortletListID) { listItem = galleryList.find("li"); that.makeDraggable(listItem); }
that.initDragAndDrop = function (newModel, oldModel, pager) { var galleryList, listItem; // DOM Caching. galleryList = pager.container.find(that.options.selectors.galleryList); listItem = galleryList.find("li"); // Set gallery items ...
initialise_config_panel : function () { YAHOO.ajax_marking_block.greyOut = new YAHOO.widget.Panel( "greyOut", { width:"470px", height:"530px", fixedcenter:true, close:true, draggable:false, zindex:110, modal:true, visible:false, iframe: true } ); },
YAHOO.ajax_marking_block.initialise_config_panel = function () { YAHOO.ajax_marking_block.greyOut = new YAHOO.widget.Panel( "greyOut", { width:"470px", height:"530px", fixedcenter:true, close:true, draggable:false, zindex:110, modal:true, visible:false, iframe: true } ); };
initialise_config_panel : function () { YAHOO.ajax_marking_block.greyOut = new YAHOO.widget.Panel( "greyOut", { width:"470px", height:"530px", fixedcenter:true, close:true, ...
console.log(123); return;
initialize: function() { // xtypeName will be as follows: TYPO3.Newsletter.Statistics.StatisticsPanel.OverviewTab this.addToMenu(['mainMenu', this.moduleName], [ { title: TYPO3.Newsletter.Language.overview_tab, itemId: 'overviewTab' }, { title: TYPO3.Newsletter.Language.links_tab, itemId: 'linkTab'...
console.log(123); return; var menu, store; menu = TYPO3.Newsletter.UserInterface.contentArea.statistics.newsletterListMenu; store = TYPO3.Newsletter.Store.NewsletterList; if (menu.getValue() == '' && store.getAt(0)) { menu.setValue(store.getAt(0).json.uid); menu.fireEvent('select'); }
initialize: function() { // xtypeName will be as follows: TYPO3.Newsletter.Statistics.StatisticsPanel.OverviewTab this.addToMenu(['mainMenu', this.moduleName], [ { title: TYPO3.Newsletter.Language.overview_tab, itemId: 'overviewTab' }, { title: TYPO3.Newsletter.Language.links_tab, itemId: 'linkTab'...
}
},
initialize: function() { // xtypeName will be as follows: TYPO3.Newsletter.Statistics.StatisticsPanel.OverviewTab this.addToMenu(['mainMenu', this.moduleName], [ { title: TYPO3.Newsletter.Language.overview_tab, itemId: 'overviewTab' }, { title: TYPO3.Newsletter.Language.links_tab, itemId: 'linkTab'...
initialize: function(id, lonlat, contentSize, contentHTML, anchor, closeBox, closeBoxCallback, relativePosition, separator) { if (relativePosition && relativePosition != 'auto') { this.fixedRelativePosition = true; this.relativePosition = relativePosition;
initialize: function(mapDivID, infoArray, options) { var infomapDefaults = { popupsOutside: false, popupDirection: 'auto', popupPaginationSeparator: ' of ', cluster: false, clusterDisplay: "paginate" }; options = olwidget.deepJoinOptions(infomapDefaults, options); olwidget.BaseMap.prototype.initialize.apply(this, [map...
initialize: function(id, lonlat, contentSize, contentHTML, anchor, closeBox, closeBoxCallback, relativePosition, separator) { if (relativePosition && relativePosition != 'auto') { this.fixedRelativePosition = true; this.relativePosition = relativePosition; } ...
if (separator === undefined) { this.separator = ' of '; } else { this.separator = separator;
if (this.opts.cluster === true) { this.addClusterStrategy();
initialize: function(id, lonlat, contentSize, contentHTML, anchor, closeBox, closeBoxCallback, relativePosition, separator) { if (relativePosition && relativePosition != 'auto') { this.fixedRelativePosition = true; this.relativePosition = relativePosition; } ...
this.olwidgetCloseBox = closeBox; this.olwidgetCloseBoxCallback = closeBoxCallback; this.page = 0; OpenLayers.Popup.Framed.prototype.initialize.apply(this, [id, lonlat, contentSize, contentHTML, anchor, false, null]);
var features = []; for (var i = 0; i < infoArray.length; i++) { var feature = olwidget.ewktToFeature(infoArray[i][0]); feature = olwidget.transformVector(feature, this.displayProjection, this.projection); if (feature.constructor != Array) { feature = [feature]; } var htmlInfo = infoArray[i][1]; for (var k = 0; k < fea...
initialize: function(id, lonlat, contentSize, contentHTML, anchor, closeBox, closeBoxCallback, relativePosition, separator) { if (relativePosition && relativePosition != 'auto') { this.fixedRelativePosition = true; this.relativePosition = relativePosition; } ...
this.addToMenu(['mainMenu', 'statistics'], [
this.addToMenu(['mainMenu', this.moduleName], [
initialize: function() { // xtypeName will be as follows: TYPO3.Newsletter.Statistics.StatisticsPanel.OverviewTab this.addToMenu(['mainMenu', 'statistics'], [ { title: TYPO3.Newsletter.Language.overview_tab, itemId: 'overviewTab' }, { title: TYPO3.Newsletter.Language.links_tab, itemId: 'linkTab' ...
ref: 'statistics'
ref: this.moduleName
initialize: function() { // xtypeName will be as follows: TYPO3.Newsletter.Statistics.StatisticsPanel.OverviewTab this.addToMenu(['mainMenu', 'statistics'], [ { title: TYPO3.Newsletter.Language.overview_tab, itemId: 'overviewTab' }, { title: TYPO3.Newsletter.Language.links_tab, itemId: 'linkTab' ...
var menu, store; menu = TYPO3.Newsletter.UserInterface.contentArea.statistics.newsletterListMenu; store = TYPO3.Newsletter.Store.NewsletterList; if (menu.getValue() == '' && store.getAt(0)) { menu.setValue(store.getAt(0).json.uid); menu.fireEvent('select'); } this.getMenuItem(this.moduleName).isLoaded = true;
initialize: function() { // xtypeName will be as follows: TYPO3.Newsletter.Statistics.StatisticsPanel.OverviewTab this.addToMenu(['mainMenu', 'statistics'], [ { title: TYPO3.Newsletter.Language.overview_tab, itemId: 'overviewTab' }, { title: TYPO3.Newsletter.Language.links_tab, itemId: 'linkTab' ...
TYPO3.Newsletter.Application.fireEvent('TYPO3.Newsletter.Application.afterload'); this.getMenuItem(this.moduleName).isLoaded = true;
initialize: function() { /** * Handle a navigation token. * * @param {RegExp} regexp the callback is called if the regexp matches * @param {function} callback Callback to be called * @param scope */ this.handleNavigationToken(/planner/, function(e) { var component = TYPO3.Newsletter.UserInterface.conte...
if (separator == undefined) {
if (separator === undefined) {
initialize: function(id, lonlat, contentSize, contentHTML, anchor, closeBox, closeBoxCallback, relativePosition, separator) { if (relativePosition && relativePosition != 'auto') { this.fixedRelativePosition = true; this.relativePosition = relativePosition; } ...
this.has_custom_protocol = true;
initialize: function(rtd, parent_cd, protocol){ this._check(rtd, parent_cd, protocol); this.rtd = rtd; this.parent_cd = parent_cd; if(protocol){ this.protocol = protocol; this.has_custom_protocol = true; } else{ this.protocol = this._default_protocol(); this.has_custom_protocol =...
this.protocol = this._default_protocol();
initialize: function(rtd, parent_cd, protocol){ this._check(rtd, parent_cd, protocol); this.rtd = rtd; this.parent_cd = parent_cd; if(protocol){ this.protocol = protocol; this.has_custom_protocol = true; } else{ this.protocol = this._default_protocol(); this.has_custom_protocol =...
if(rtd.parent_rtd) this.protocol = this._default_protocol_for_derived_types(); else this.protocol = this._default_protocol_for_base_types();
initialize: function(rtd, parent_cd, protocol){ this._check(rtd, parent_cd, protocol); this.rtd = rtd; this.parent_cd = parent_cd; if(protocol){ this.protocol = protocol; this.has_custom_protocol = true; } else{ this.protocol = this._default_protocol(); this.has_custom_protocol =...
var component = TYPO3.Newsletter.UserInterface.mainContainer.formNewsletter || null;
var component = TYPO3.Newsletter.UserInterface.contentArea.formNewsletter || null;
initialize: function() {// this.addContentArea('management', 'F3-TYPO3-Management', {// html: 'Management'// }); /** * Handle a navigation token. * * @param {RegExp} regexp the callback is called if the regexp matches * @param {function} callback Callback to be called * @param scope */ this.handleNav...
TYPO3.Newsletter.UserInterface.mainContainer.add(component); TYPO3.Newsletter.UserInterface.mainContainer.doLayout();
TYPO3.Newsletter.UserInterface.contentArea.add(component); TYPO3.Newsletter.UserInterface.contentArea.doLayout();
initialize: function() {// this.addContentArea('management', 'F3-TYPO3-Management', {// html: 'Management'// }); /** * Handle a navigation token. * * @param {RegExp} regexp the callback is called if the regexp matches * @param {function} callback Callback to be called * @param scope */ this.handleNav...
text: TYPO3.Newsletter.Language.statistics_button,
text: TYPO3.Newsletter.Language.statistics_button + ' (' + TYPO3.Newsletter.Data.numberOfStatistics + ')',
initialize: function() { this.addToMenu(['mainMenu'], [ { text: TYPO3.Newsletter.Language.newsletter_button, itemId: 'planner' }, { text: TYPO3.Newsletter.Language.statistics_button, itemId: 'statistics' } ]); TYPO3.Newsletter.Application.on('TYPO3.Newsletter.Application.afterBootstrap', this....
if (opt[0].contains('Fx')) { this.fx = []; this.fx = this.options.commonFx; if (opt[0].contains('Start')) { selectOptions = this.fx.include(this.options.startFx); } else { selectOptions = this.fx.include(this.options.endFx).erase(this.options.startFx); } } else { selectOptions = this.options[opt[opt.length - 1]]; }
selectOptions = (opt[0].contains('Fx')) ? this.options.commonFx : this.options[opt[opt.length - 1]];
initialize: function(element,fx) { var divs = $$('#' + element + ' div'); divs.each(function(element) { var selectOptions = null; var selectBox = new Element('select').inject(element); var opt = element.id.split("_"); if (opt[0].contains('Fx')) { this.fx = []; this.fx = this.options...
new Request.JSON({ method: 'get', url: 'js/menu.json', onSuccess: function(responseJSON) { this.menu(responseJSON); }.bind(this) }).send();
this.menu()
initialize: function() { this.parent({ method: 'get', useSpinner: true, spinnerOptions: {}, spinnerTarget: $('contentWrap') }); this.mh = new MooHub(); this.chain( function(){ this.mh.grabUserInfo('vincentbluff', function(d){ this.repos = d.user.repositories; this.callChain(); }.bind(...
var control = this; this.handlers.feature = new OpenLayers.Handler.Feature( this, this.layer, { over: this.overVertex, out: this.outVertex } );
initialize: function(layer, options) { options['toggle'] = false; OpenLayers.Control.ModifyFeature.prototype.initialize.apply(this, [layer, options]); this.selectControl.onUnselect = this.unselectFeature; var control = this; this.selectControl.callbacks.clickout = func...
TYPO3.Newsletter.Application.fireEvent('TYPO3.Newsletter.Application.afterload');
TYPO3.Newsletter.Application.fireEvent('TYPO3.Newsletter.Application.afterbusy');
initialize: function() { /** * Handle a navigation token. * * @param {RegExp} regexp the callback is called if the regexp matches * @param {function} callback Callback to be called * @param scope */ this.handleNavigationToken(/planner/, function(e) { var component = TYPO3.Newsletter.UserInterface.conte...
var myIcon = new GIcon(); myIcon.image = 'static/image.png'; myIcon.shadow = 'static/shadow.png'; myIcon.iconSize = new GSize(20,17); myIcon.shadowSize = new GSize(29,17); myIcon.iconAnchor = new GPoint(10,17); myIcon.infoWindowAnchor = new GPoint(10,0); myIcon.printImage = 'static/printImage.gif'; myIcon.mozPrintImage...
function initialize() { if (GBrowserIsCompatible()) { var request = new XMLHttpRequest(); var today = new Date(); request.open("GET","/getrides?after="+today.getFullYear()+"-"+today.getMonth()+"-"+today.getDay(),false); request.send(null); if (request.status == 200) { // loop over all rides = eval(reques...
var myIcon = new GIcon(); myIcon.image = 'static/image.png'; myIcon.shadow = 'static/shadow.png'; myIcon.iconSize = new GSize(20,17); myIcon.shadowSize = new GSize(29,17); myIcon.iconAnchor = new GPoint(10,17); myIcon.infoWindowAnchor = new GPoint(10,0); myIcon.printImage = 'static/printImage.gif'; myIcon.mozPrintImage...
bmarkerOptions = { icon:myIcon };
function initialize() { if (GBrowserIsCompatible()) { var request = new XMLHttpRequest(); var today = new Date(); request.open("GET","/getrides?after="+today.getFullYear()+"-"+today.getMonth()+"-"+today.getDay(),false); request.send(null); if (request.status == 200) { // loop over all rides = eval(reques...
bmarkerOptions = { icon:myIcon };
var blueIcon = new GIcon(G_DEFAULT_ICON); blueIcon.image = "http: blueIcon.iconSize = new GSize(20, 20); markerOptions = { icon:myIcon }; var marker = new GMarker(new GLatLng(43.313059,-91.799501), markerOptions);
function initialize() { if (GBrowserIsCompatible()) { var request = new XMLHttpRequest(); var today = new Date(); request.open("GET","/getrides?after="+today.getFullYear()+"-"+today.getMonth()+"-"+today.getDay(),false); request.send(null); if (request.status == 200) { // loop over all rides = eval(reques...
var blueIcon = new GIcon(G_DEFAULT_ICON); blueIcon.image = "http: blueIcon.iconSize = new GSize(20, 20); markerOptions = { icon:myIcon }; var marker = new GMarker(new GLatLng(43.313059,-91.799501), markerOptions); var alpha = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
function initialize() { if (GBrowserIsCompatible()) { var request = new XMLHttpRequest(); var today = new Date(); request.open("GET","/getrides?after="+today.getFullYear()+"-"+today.getMonth()+"-"+today.getDay(),false); request.send(null); if (request.status == 200) { // loop over all rides = eval(reques...
that.locate("buttonPrimary").attr("disabled", "disabled"); browseEntity(that, that.options.initialFocusedEntity);
if (that.options.selected.length < 1) { that.locate("buttonPrimary").attr("disabled", "disabled"); }
var initialize = function (that) { // Initialize search drop-down. searchEntity(that); // Disable primary button. that.locate("buttonPrimary").attr("disabled", "disabled"); // Browse to the designated default start entity. browseEntity(that, that.options.ini...
rides[r].ToD = new Date(rides[r].ToD);
var tod = rides[r].ToD rides[r].ToD = new Date(tod.substring(0,4),tod.substring(5,7)-1,tod.substring(8,10));
function initialize(mess) { if (GBrowserIsCompatible()) { var request = new XMLHttpRequest(); var today = new Date(); request.open("GET","/getrides?after="+today.getFullYear()+"-"+(today.getMonth()+1)+"-"+today.getDate(),false); request.send(null); if (request.status == 200) { // loop over all rides = ev...
if (PackageProject.currentProject == null) return;
PackageProject.initializeConsoleWidth = function(){ var windowWidth = Titanium.UI.currentWindow.getWidth(); var windowHeight = Titanium.UI.currentWindow.getHeight(); var leftWidth = $('#tiui_content_left').width(); var rightWidth = windowWidth - leftWidth; var height = $("#tiui_content_right").height() - 170; if (Pack...
initMap: function(mapDivID, info, opts) {
initMap: function(mapDivID, opts) {
initMap: function(mapDivID, info, opts) { var mapDiv = document.getElementById(mapDivID); OpenLayers.Util.extend(mapDiv.style, opts.mapDivStyle); mapDiv.className = opts.mapDivClass; var layers = []; for (var i = 0; i < opts.layers.length; i++) { var parts = opts.layers...
layers.push(olwidget[parts[0]][parts[1]]());
layers.push(olwidget[parts[0]].map(parts[1]));
initMap: function(mapDivID, info, opts) { var mapDiv = document.getElementById(mapDivID); OpenLayers.Util.extend(mapDiv.style, opts.mapDivStyle); mapDiv.className = opts.mapDivClass; var layers = []; for (var i = 0; i < opts.layers.length; i++) { var parts = opts.layers...
if (opts.mapOptions.panMethod == undefined) {
if (opts.mapOptions.panMethod === undefined) {
initMap: function(mapDivID, info, opts) { var mapDiv = document.getElementById(mapDivID); OpenLayers.Util.extend(mapDiv.style, opts.mapDivStyle); mapDiv.className = opts.mapDivClass; var layers = []; for (var i = 0; i < opts.layers.length; i++) { var parts = opts.layers...
var styleMap = new OpenLayers.StyleMap({'default': new OpenLayers.Style(opts.overlayStyle, opts.styleContext)});
var styleMap = new OpenLayers.StyleMap({'default': new OpenLayers.Style(opts.overlayStyle, { context: opts.overlayStyleContext })});
initMap: function(mapDivID, info, opts) { var mapDiv = document.getElementById(mapDivID); OpenLayers.Util.extend(mapDiv.style, opts.mapDivStyle); mapDiv.className = opts.mapDivClass; var layers = []; for (var i = 0; i < opts.layers.length; i++) { var parts = opts.layers...
this.vectorArray = []; for (k in info) { this['vectorLayer'+k] = new OpenLayers.Layer.Vector(k, { styleMap: styleMap }); layers.push(this['vectorLayer'+k]); this.vectorArray.push(this['vectorLayer'+k]); }
this.vectorLayer = new OpenLayers.Layer.Vector(this.opts.name, { styleMap: styleMap }); layers.push(this.vectorLayer);
initMap: function(mapDivID, info, opts) { var mapDiv = document.getElementById(mapDivID); OpenLayers.Util.extend(mapDiv.style, opts.mapDivStyle); mapDiv.className = opts.mapDivClass; var layers = []; for (var i = 0; i < opts.layers.length; i++) { var parts = opts.layers...
layers.push(olwidget[parts[0]][parts[1]]());
layers.push(olwidget[parts[0]].map(parts[1]));
initMap: function(mapDivID, opts) { var mapDiv = document.getElementById(mapDivID); OpenLayers.Util.extend(mapDiv.style, opts.mapDivStyle); mapDiv.className = opts.mapDivClass; var layers = []; for (var i = 0; i < opts.layers.length; i++) { var parts = opts.layers[i].sp...
if (opts.mapOptions.panMethod == undefined) {
if (opts.mapOptions.panMethod === undefined) {
initMap: function(mapDivID, opts) { var mapDiv = document.getElementById(mapDivID); OpenLayers.Util.extend(mapDiv.style, opts.mapDivStyle); mapDiv.className = opts.mapDivClass; var layers = []; for (var i = 0; i < opts.layers.length; i++) { var parts = opts.layers[i].sp...
var styleMap = new OpenLayers.StyleMap({'default': new OpenLayers.Style(opts.overlayStyle, opts.styleContext)});
var styleMap = new OpenLayers.StyleMap({'default': new OpenLayers.Style(opts.overlayStyle, { context: opts.overlayStyleContext })});
initMap: function(mapDivID, opts) { var mapDiv = document.getElementById(mapDivID); OpenLayers.Util.extend(mapDiv.style, opts.mapDivStyle); mapDiv.className = opts.mapDivClass; var layers = []; for (var i = 0; i < opts.layers.length; i++) { var parts = opts.layers[i].sp...