code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/**
* This is part of a patch to address a jQueryUI bug. The bug is responsible
* for the inability to scroll a page when a modal dialog is active. If the content
* of the dialog extends beyond the bottom of the viewport, the user is only able
* to scroll with a mousewheel or up/down keyboard keys.
*
* @see http... | JavaScript |
/**
* @file
* Handles AJAX fetching of views, including filter submission and response.
*/
(function ($) {
/**
* Attaches the AJAX behavior to Views exposed filter forms and key View links.
*/
Drupal.behaviors.ViewsAjaxView = {};
Drupal.behaviors.ViewsAjaxView.attach = function() {
if (Drupal.settings && Drupal... | JavaScript |
/**
* @file
* Some basic behaviors and utility functions for Views UI.
*/
Drupal.viewsUi = {};
Drupal.behaviors.viewsUiEditView = {};
/**
* Improve the user experience of the views edit interface.
*/
Drupal.behaviors.viewsUiEditView.attach = function (context, settings) {
// Only show the SQL rewrite warning w... | JavaScript |
/**
* @file
* Handles AJAX submission and response in Views UI.
*/
(function ($) {
Drupal.ajax.prototype.commands.viewsSetForm = function (ajax, response, status) {
var ajax_title = Drupal.settings.views.ajax.title;
var ajax_body = Drupal.settings.views.ajax.id;
var ajax_popup = Drupal.settings.views.... | JavaScript |
/**
* @file
* Javascript related to the main view list.
*/
(function ($) {
Drupal.behaviors.viewsUIList = {
attach: function (context) {
$('#ctools-export-ui-list-items thead a').once('views-ajax-processed').each(function() {
$(this).click(function() {
var query = $.deparam.querystring(this.href... | JavaScript |
(function ($) {
// Explain link in query log
Drupal.behaviors.devel_explain = {
attach: function(context, settings) {
$('a.dev-explain').click(function () {
qid = $(this).attr("qid");
cell = $('#devel-query-' + qid);
$('.dev-explain', cell).load(settings.basePath + '?q=devel/explain/' + setting... | JavaScript |
/**
* @file devel_node_access.js.
*/
(function ($) {
/**
* Perform the access by user ajax request.
*/
function devel_node_access_user_ajax(context, settings) {
// Get the cell ID for the first .dna-permission that isn't processed.
var cell = $('td.dna-permission', context)
.not('.a... | JavaScript |
(function ($) {
/**
* Attaches double-click behavior to toggle full path of Krumo elements.
*/
Drupal.behaviors.devel = {
attach: function (context, settings) {
// Add hint to footnote
$('.krumo-footnote .krumo-call').once().before('<img style="vertical-align: middle;" title="Click to expand. Double-click... | JavaScript |
/*----------------------------------------\
| Cross Browser Tree Widget 1.1 |
|-----------------------------------------|
| Created by Emil A. Eklund (eae@eae.net) |
| For WebFX (http://webfx.eae.net/) |
|-----------------------------------------|
| This script is provided as is without |
| any warran... | JavaScript |
/**
* JavaScript routines for Krumo
*
* @link http://sourceforge.net/projects/krumo
*/
/////////////////////////////////////////////////////////////////////////////
/**
* Krumo JS Class
*/
function krumo() {
}
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
/**
* Add a CSS class to a... | JavaScript |
/*!
* jQuery JavaScript Library v1.4.4
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... | JavaScript |
(function($) {
/**
* @file
* JS support for favorites.
*/
/**
* Create variables and functions.
*/
Drupal.favorites = {
/**
* Reads the form data and passes it to the Ajax callback.
* Drupal's "ahah" extensions would make it too complicated
* dynamically processing the form AND ... | JavaScript |
/**
* @file
*
* CTools flexible AJAX responder object.
*/
(function ($) {
Drupal.CTools = Drupal.CTools || {};
Drupal.CTools.AJAX = Drupal.CTools.AJAX || {};
/**
* Grab the response from the server and store it.
*
* @todo restore the warm cache functionality
*/
Drupal.CTools.AJAX.warmCache = fu... | JavaScript |
(function ($) {
Drupal.CTools = Drupal.CTools || {};
Drupal.CTools.Stylizer = {};
Drupal.CTools.Stylizer.addFarbtastic = function(context) {
// This behavior attaches by ID, so is only valid once on a page.
if ($('ctools_stylizer_color_scheme_form .color-form.Stylizer-processed').size()) {
return;... | JavaScript |
(function($) {
Drupal.behaviors.CToolsJumpMenu = {
attach: function(context) {
$('.ctools-jump-menu-hide')
.once('ctools-jump-menu')
.hide();
$('.ctools-jump-menu-change')
.once('ctools-jump-menu')
.change(function() {
var loc = $(this).val();
var ... | JavaScript |
(function($){
/**
* To make a form auto submit, all you have to do is 3 things:
*
* ctools_add_js('auto-submit');
*
* On gadgets you want to auto-submit when changed, add the ctools-auto-submit
* class. With FAPI, add:
* @code
* '#attributes' => array('class' => array('ctools-auto-submit')),
* @endcode
*
* ... | JavaScript |
/**
* @file
* Implement a simple, clickable dropbutton menu.
*
* See dropbutton.theme.inc for primary documentation.
*
* The javascript relies on four classes:
* - The dropbutton must be fully contained in a div with the class
* ctools-dropbutton. It must also contain the class ctools-no-js
* which will be... | JavaScript |
/**
* @file
* Javascript required for a simple collapsible div.
*
* Creating a collapsible div with this doesn't take too much. There are
* three classes necessary:
*
* - ctools-collapsible-container: This is the overall container that will be
* collapsible. This must be a div.
* - ctools-collapsible-handle:... | JavaScript |
/**
* @file
*
* Implement a modal form.
*
* @see modal.inc for documentation.
*
* This javascript relies on the CTools ajax responder.
*/
(function ($) {
// Make sure our objects are defined.
Drupal.CTools = Drupal.CTools || {};
Drupal.CTools.Modal = Drupal.CTools.Modal || {};
/**
* Display the mod... | JavaScript |
/**
* @file
* Provides dependent visibility for form items in CTools' ajax forms.
*
* To your $form item definition add:
* - '#process' => array('ctools_process_dependency'),
* - '#dependency' => array('id-of-form-item' => array(list, of, values, that,
* make, this, item, show),
*
* Special considerations:
... | JavaScript |
/**
* @file
* Implement a simple, clickable dropdown menu.
*
* See dropdown.theme.inc for primary documentation.
*
* The javascript relies on four classes:
* - The dropdown must be fully contained in a div with the class
* ctools-dropdown. It must also contain the class ctools-dropdown-no-js
* which will b... | JavaScript |
/**
* @file
* CTools Bulk Export javascript functions.
*/
(function ($) {
Drupal.behaviors.CToolsBulkExport = {
attach: function (context) {
$('#bulk-export-export-form .vertical-tabs-pane', context).drupalSetSummary(function (context) {
// Check if any individual checkbox is checked.
if ($('.... | JavaScript |
/**
* Provide the HTML to create the modal dialog.
*/
Drupal.theme.prototype.CToolsSampleModal = function () {
var html = '';
html += '<div id="ctools-modal" class="popups-box">';
html += ' <div class="ctools-modal-content ctools-sample-modal-content">';
html += ' <table cellpadding="0" cellspacing="0" id=... | JavaScript |
/**
* Provide some extra responses for the page list so we can have automatic
* on change.
*/
Drupal.behaviors.PageManagerList = function() {
var timeoutID = 0;
$('form#page-manager-list-pages-form select:not(.pm-processed)')
.addClass('pm-processed')
.change(function() {
$('#edit-pages-apply').c... | JavaScript |
/**
* jQuery.fn.sortElements
* --------------
* @param Function comparator:
* Exactly the same behaviour as [1,2,3].sort(comparator)
*
* @param Function getSortable
* A function that should return the element that is
* to be sorted. The comparator will run on the
* current collection, but you may want ... | JavaScript |
jQuery(document).ready(function () {
// select fields on focus
jQuery("#edit-rbk-money-simple-response, #edit-description").focus(function() {
var $this = jQuery(this);
$this.select();
// Work around Chrome's little problem
$this.mouseup(function() {
// Prevent furt... | JavaScript |
(function ($) {
Drupal.viewsSlideshow = Drupal.viewsSlideshow || {};
/**
* Views Slideshow Controls
*/
Drupal.viewsSlideshowControls = Drupal.viewsSlideshowControls || {};
/**
* Implement the play hook for controls.
*/
Drupal.viewsSlideshowControls.play = function (options) {
// Route the co... | JavaScript |
/**
* @file
* Javascript to enhance the views slideshow cycle form options.
*/
/**
* This will set our initial behavior, by starting up each individual slideshow.
*/
(function ($) {
// Since Drupal 7 doesn't support having a field based on one of 3 values of
// a select box we need to add our own javasc... | JavaScript |
/**
* @file
* A simple jQuery Cycle Div Slideshow Rotator.
*/
/**
* This will set our initial behavior, by starting up each individual slideshow.
*/
(function ($) {
Drupal.behaviors.viewsSlideshowCycle = {
attach: function (context) {
$('.views_slideshow_cycle_main:not(.viewsSlideshowCycle-processe... | JavaScript |
(function ($) {
Drupal.behaviors.diffRevisions = {
attach: function (context, settings) {
var $rows = $('table.diff-revisions tbody tr');
function updateDiffRadios() {
var newTd = false;
var oldTd = false;
if (!$rows.length) {
return true;
}
$rows.removeClass('selected')... | JavaScript |
/*
* UI enhancements for the imagecache edit form
*/
(function($){
/**
* Check if independent corners are enabled and disable other fields in the UI
*/
Drupal.canvasactions_roundedcorners_form_disable_fields = function () {
// To get the right effect, we have to set the 'disabled' attribute on the
... | JavaScript |
(function($, Drupal) {
/**
* This script adds jQuery slider functionality to transform_slider form element
*/
Drupal.behaviors.jSliderFormAPI = {
attach: function (context, settings) {
// Create sliders
$('.transfer-slider-container:not(.transferSlider-processed)', context).each(function () {
$(this... | JavaScript |
(function($, Drupal) {
/**
* This script adds jQuery slider functionality to transform_slider form element
*/
Drupal.behaviors.SliderFieldSliderField = {
attach: function (context, settings) {
// Create sliders
$('.sliderfield-container:not(.sliderfield-processed)', context).each(function () ... | JavaScript |
/**
* @file
* This file handles the JS for Media Module functions.
*/
(function ($) {
/**
* Loads media browsers and callbacks, specifically for media as a field.
*/
Drupal.behaviors.mediaElement = {
attach: function (context, settings) {
// Options set from media.fields.inc for the types, etc to show i... | JavaScript |
/**
* Creates a namespace.
*
* @return
* The created namespace object.
*/
function namespace () {
var a=arguments, o=null, i, j, d;
for (i=0; i<a.length; i=i+1) {
d=a[i].split(".");
o=window;
for (j=0; j<d.length; j=j+1) {
o[d[j]]=o[d[j]] || {};
o=o[d[j]];
}
}
return o;
};
| JavaScript |
(function ($) {
namespace('Drupal.media.browser');
Drupal.media.browser.selectedMedia = [];
Drupal.media.browser.mediaAdded = function () {};
Drupal.media.browser.selectionFinalized = function (selectedMedia) {
// This is intended to be overridden if a callee wants to be triggered
// when the media selection is f... | JavaScript |
/**
* @file
* Attach behaviors to formatter radio select when selecting a media's display
* formatter.
*/
(function ($) {
namespace('Drupal.media.formatForm');
Drupal.media.mediaFormatSelected = {};
Drupal.behaviors.mediaFormatForm = {
attach: function (context, settings) {
// Add "Submit" and "Cancel"... | JavaScript |
/**
* @file: Popup dialog interfaces for the media project.
*
* Drupal.media.popups.mediaBrowser
* Launches the media browser which allows users to pick a piece of media.
*
* Drupal.media.popups.mediaStyleSelector
* Launches the style selection form where the user can choose
* what format / style they want... | JavaScript |
(function ($) {
namespace('Drupal.media.browser.plugin');
Drupal.media.browser.plugin.fromurl = function (mediaBrowser, options) {
return {
init: function () {
tabset = mediaBrowser.getTabset();
tabset.tabs('add', '#fromurl', 'From URL');
mediaBrowser.listen('tabs.show', function (e, id) {
... | JavaScript |
Drupal.behaviors.mediaUploadMultiple = {};
Drupal.behaviors.mediaUploadMultiple.attach = function (context, settings) {
// When the plupload element initializes, it expands the size of the elements
// it has created, so we need to resize the browser iframe after it's done.
var uploader = jQuery('#edit-upload').p... | JavaScript |
(function ($) {
namespace('Drupal.media.browser.plugin');
Drupal.media.browser.plugin.upload = function (mediaBrowser, options) {
return {
/* Abstract */
init: function () {
tabset = mediaBrowser.getTabset();
tabset.tabs('add', '#upload', Drupal.t('Upload'));
mediaBrowser.listen('tabs.show... | JavaScript |
(function ($) {
namespace('Drupal.media.browser');
Drupal.behaviors.mediaLibrary = {
attach: function (context, settings) {
var library = new Drupal.media.browser.library(Drupal.settings.media.browser.library);
$('#media-browser-tabset').bind('tabsshow', function (event, ui) {
if (ui.tab.hash === '#me... | JavaScript |
/**
* @file
* Attach Media WYSIWYG behaviors.
*/
(function ($) {
Drupal.media = Drupal.media || {};
// Define the behavior.
Drupal.wysiwyg.plugins.media = {
/**
* Initializes the tag map.
*/
initializeTagMap: function () {
if (typeof Drupal.settings.tagmap == 'undefined') {
Drupal.settings... | JavaScript |
/**
* @file
* Javascript for the interface at admin/content/media and also for interfaces
* related to setting up media fields and for media type administration.
*
* Basically, if it's on the /admin path, it's probably here.
*/
(function ($) {
/**
* Functionality for the thumbnail display
*/
Drupal.behaviors.... | JavaScript |
/*
http://www.JSON.org/json2.js
2009-09-29
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE... | JavaScript |
(function ($) {
Drupal.behaviors.fileDisplayStatus = {
attach: function (context, settings) {
$('#file-displays-status-wrapper input.form-checkbox', context).once('display-status', function () {
var $checkbox = $(this);
// Retrieve the tabledrag row belonging to this display.
var $row = $('#' ... | JavaScript |
Drupal.behaviors.selectmenu = {
attach: function(context, settings) {
(function ($) {
var form = null;
// Select and apply jQuery Selectmenu to whitelisted CSS selectors first.
$(Drupal.settings.selectmenu.selectmenu_css_whitelist).each(function(context) {
$(this).selectmenu(Drupal.sett... | JavaScript |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/*
WARNING: clear browser's cache after you modify this file.
If you don't do this, you may notice that browser is ignoring all your changes.
*/
CKEDITOR.editorConfig = fu... | JavaScript |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
(function ($) {
Drupal.ckeditor_ver = 4;
$(document).ready(function() {
if (typeof(CKEDITOR) == "undefined")
return;
// $('#edit-uicolor-textarea').show();... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
if (typeof window.CKEDITOR_BASEPATH === 'undefined') {
window.CKEDITOR_BASEPATH = Drupal.settings.ckeditor.editor_path;
}
(function ($) {
Drupal.ckeditor = (typeof(CKEDITO... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.add( 'uicolor', {
requires: 'dialog',
lang: 'bg,cs,cy,da,de,el,en,eo,et,fa,fi,fr,he,hr,it,ku,mk,nb,nl,no,pl,tr,ug,uk,vi,zh-cn', // %REMOV... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'nl', {
title: 'UI Kleurenkiezer',
preview: 'Live voorbeeld',
config: 'Plak deze tekst in jouw config.js bestand',
... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'ug', {
title: 'ئىشلەتكۈچى ئارايۈزى رەڭ تاللىغۇچ',
preview: 'شۇئان ئالدىن كۆزىتىش',
config: 'بۇ ھەرپ تىزىقىنى config... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'it', {
title: 'Selettore Colore UI',
preview: 'Anteprima Live',
config: 'Incolla questa stringa nel tuo file config... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'de', {
title: 'UI Pipette',
preview: 'Live-Vorschau',
config: 'Fügen Sie diese Zeichenfolge in die \'config.js\' Da... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'pl', {
title: 'Wybór koloru interfejsu',
preview: 'Podgląd na żywo',
config: 'Wklej poniższy łańcuch znaków do plik... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'vi', {
title: 'Giao diện người dùng Color Picker',
preview: 'Xem trước trực tiếp',
config: 'Dán chuỗi này vào tập t... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'hr', {
title: 'UI odabir boja',
preview: 'Pregled uživo',
config: 'Zalijepite ovaj tekst u Vašu config.js datoteku.... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'tr', {
title: 'UI Renk Seçicisi',
preview: 'Canlı önizleme',
config: 'Bu dizeyi config.js dosyasının içine yapıştır... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'fr', {
title: 'UI Sélecteur de couleur',
preview: 'Aperçu',
config: 'Collez cette chaîne de caractères dans votre f... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'zh-cn', {
title: '用户界面颜色选择器',
preview: '即时预览',
config: '粘贴此字符串到你的 config.js 文件',
predefined: '预定义颜色集'
});
| JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'eo', {
title: 'UI Kolorselektilo',
preview: 'Vidigi la aspekton',
config: 'Gluu tiun signoĉenon en vian dosieron co... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'en', {
title: 'UI Color Picker',
preview: 'Live preview',
config: 'Paste this string into your config.js file',
pr... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'da', {
title: 'Brugerflade på farvevælger',
preview: 'Vis liveeksempel',
config: 'Indsæt denne streng i din config.... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'nb', {
title: 'Fargevelger for brukergrensesnitt',
preview: 'Forhåndsvisning i sanntid',
config: 'Lim inn følgende ... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'bg', {
title: 'ПИ избор на цвят',
preview: 'Преглед',
config: 'Вмъкнете този низ във Вашия config.js fajl',
predef... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'el', {
title: 'Διεπαφή Επιλογέα Χρωμάτων',
preview: 'Ζωντανή Προεπισκόπηση',
config: 'Επικολλήστε αυτό το κείμενο σ... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'fi', {
title: 'Käyttöliittymän värivalitsin',
preview: 'Esikatsele',
config: 'Liitä tämä merkkijono config.js tiedo... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'cy', {
title: 'Dewisydd Lliwiau\'r UI',
preview: 'Rhagolwg Byw',
config: 'Gludwch y llinyn hwn i\'ch ffeil config.j... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'no', {
title: 'Fargevelger for brukergrensesnitt',
preview: 'Forhåndsvisning i sanntid',
config: 'Lim inn følgende ... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'mk', {
title: 'Палета со бои',
preview: 'Преглед',
config: 'Залепи го овој текст во config.js датотеката',
predefi... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'fa', {
title: 'انتخاب رنگ UI',
preview: 'پیشنمایش زنده',
config: 'این رشته را در فایل config.js خود بچسبانید.',
p... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'et', {
title: 'Värvivalija kasutajaliides',
preview: 'Automaatne eelvaade',
config: 'Aseta see sõne oma config.js f... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'he', {
title: 'בחירת צבע ממשק משתמש',
preview: 'תצוגה מקדימה',
config: 'הדבק את הטקסט הבא לתוך הקובץ config.js',
p... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'uk', {
title: 'Color Picker Інтерфейс',
preview: 'Перегляд наживо',
config: 'Вставте цей рядок у файл config.js',
... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'uicolor', 'cs', {
title: 'Výběr barvy rozhraní',
preview: 'Živý náhled',
config: 'Vložte tento řetězec do Vašeho souboru confi... | JavaScript |
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'uicolor', function( editor ) {
var dialog, picker, pickerContents,
// Actual UI color value.
uiColor = editor.getUiColor(),
picke... | JavaScript |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @file Plugin for inserting Drupal embeded media
*/
( function() {
var numberRegex = /^\d+(?:\.\d+)?$/;
var cssifyLength = function( length )
{
if ( numberRe... | JavaScript |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'mediaembedDialog', function( editor ) {
var numberRegex = /^\d+(?:\.\d+)?$/;
var cssifyLength = function( length )
{
if ( numberRegex.test( le... | JavaScript |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @file Plugin for inserting images from Drupal media module
*/
( function() {
CKEDITOR.plugins.add( 'media',
{
// Wrap Drupal plugin in a proxy plugin.
ini... | JavaScript |
/**
* @file
* Attach Media ckeditor behaviors.
*/
(function ($) {
Drupal.media = Drupal.media || {};
Drupal.settings.ckeditor.plugins['media'] = {
/**
* Initializes the tag map.
*/
initializeTagMap: function () {
if (typeof Drupal.settings.tagmap == 'undefined') {
Drupal... | JavaScript |
/**
* @file Plugin to count symbols, symbols without blanks and words
*/
( function(){
var emptyHtml = '<span class="cke_empty"> </span>';
CKEDITOR.plugins.add( 'counter',
{
init : function( editor )
{
var spaceId = 'cke_counter_' + editor.name;
var spaceElement;
var ckeditorEvent... | JavaScript |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @file Plugin for inserting Drupal teaser and page breaks.
*/
( function() {
var pluginRequires = [ 'fakeobjects' ];
if (Drupal.ckeditor_ver == 3) {
pluginRequ... | JavaScript |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @file Plugin for inserting files from IMCE without image dialog
*/
( function() {
CKEDITOR.plugins.add( 'imce',
{
init: function( editor )
{
//addin... | JavaScript |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/*
* This file is used/requested by the 'Styles' button.
* The 'Styles' button is not enabled by default in DrupalFull and DrupalFiltered toolbars.
*/
if(typeof(CKEDITOR) ... | JavaScript |
/**
* @file
* Test JavaScript file for Libraries loading.
*
* Replace the text in the 'libraries-test-module-js' div. See README.txt for
* more information.
*/
(function ($) {
Drupal.behaviors.librariesTest = {
attach: function(context, settings) {
$('.libraries-test-module-js').text('If this text shows ... | JavaScript |
/**
* @file
* Test JavaScript file for Libraries loading.
*
* Replace the text in the 'libraries-test-module-js' div. See README.txt for
* more information.
*/
(function ($) {
Drupal.behaviors.librariesTest = {
attach: function(context, settings) {
$('.libraries-test-module-js').text('If this text shows ... | JavaScript |
/**
* @file
* Test JavaScript file for Libraries loading.
*
* Replace the text in the 'libraries-test-module-js' div. See README.txt for
* more information.
*/
(function ($) {
Drupal.behaviors.librariesTest = {
attach: function(context, settings) {
$('.libraries-test-module-js').text('If this text shows ... | JavaScript |
/**
* @file
* Test JavaScript file for Libraries loading.
*
* Replace the text in the 'libraries-test-module-js' div. See README.txt for
* more information.
*/
(function ($) {
Drupal.behaviors.librariesTest = {
attach: function(context, settings) {
$('.libraries-test-module-js').text('If this text shows ... | JavaScript |
/**
* @file
* Test JavaScript file for Libraries loading.
*
* Replace the text in the 'libraries-test-module-js' div. See README.txt for
* more information.
*/
(function ($) {
Drupal.behaviors.librariesTest = {
attach: function(context, settings) {
$('.libraries-test-module-js').text('If this text shows ... | JavaScript |
/**
* @file
* Test JavaScript file for Libraries loading.
*
* Replace the text in the 'libraries-test-module-js' div. See README.txt for
* more information.
*/
(function ($) {
Drupal.behaviors.librariesTest = {
attach: function(context, settings) {
$('.libraries-test-module-js').text('If this text shows ... | JavaScript |
/**
* Plugin written by the great jqueryfordesigners.com
* http://jqueryfordesigners.com/jquery-infinite-carousel/
*
* Slightly addapted for our use case
*/
(function ($) {
$.fn.infiniteCarousel = function () {
function repeat(str, num) {
return new Array( num + 1 ).join( str );
}
... | JavaScript |
Drupal.behaviors.galleryformatter = {
attach: function (context) {
// We must wait for everything to load in order to get images' dimensions.
(jQuery)(window).bind('load', function() {
(jQuery)('.galleryformatter:not(.gallery-processed)', context).each(function(){
Drupal.galleryformatter.prepar... | JavaScript |
(function($) {
/**
* Attach this editor to a target element.
*
* @param context
* A DOM element, supplied by Drupal.attachBehaviors().
* @param params
* An object containing input format parameters. Default parameters are:
* - editor: The internal editor name.
* - theme: The name/key of the editor them... | JavaScript |
var wysiwygWhizzywig = { currentField: null, fields: {} };
var buttonPath = null;
/**
* Override Whizzywig's document.write() function.
*
* Whizzywig uses document.write() by default, which leads to a blank page when
* invoked in jQuery.ready(). Luckily, Whizzywig developers implemented a
* shorthand w() substi... | JavaScript |
(function($) {
/**
* Attach this editor to a target element.
*/
Drupal.wysiwyg.editor.attach.epiceditor = function (context, params, settings) {
var $target = $('#' + params.field);
var containerId = params.field + '-epiceditor';
var defaultContent = $target.val();
$target.hide().after('<div id="' + containe... | JavaScript |
var wysiwygWhizzywig = { currentField: null, fields: {} };
var buttonPath = null;
/**
* Override Whizzywig's document.write() function.
*
* Whizzywig uses document.write() by default, which leads to a blank page when
* invoked in jQuery.ready(). Luckily, Whizzywig developers implemented a
* shorthand w() substi... | JavaScript |
// Backup $ and reset it to jQuery.
Drupal.wysiwyg._openwysiwyg = $;
$ = jQuery;
// Wrap openWYSIWYG's methods to temporarily use its version of $.
jQuery.each(WYSIWYG, function (key, value) {
if (jQuery.isFunction(value)) {
WYSIWYG[key] = function () {
var old$ = $;
$ = Drupal.wysiwyg._openwysiwyg;... | JavaScript |
(function($) {
/**
* Attach this editor to a target element.
*/
Drupal.wysiwyg.editor.attach.wymeditor = function (context, params, settings) {
// Prepend basePath to wymPath.
settings.wymPath = settings.basePath + settings.wymPath;
// Update activeId on focus.
settings.postInit = function (instance) {
$... | JavaScript |
(function($) {
/**
* Attach this editor to a target element.
*/
Drupal.wysiwyg.editor.attach.markitup = function(context, params, settings) {
$('#' + params.field, context).markItUp(settings);
// Adjust CSS for editor buttons.
$.each(settings.markupSet, function (button) {
$('.' + settings.nameSpace + ' .... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.