/Drupal.locale = { 'pluralFormula': function ($n) { return Number(($n!=1)); }, 'strings': {"":{"Shortcuts":"Shortcuts","All":"All","Edit":"Edit","Version":"Version","Not published":"Not published","Enabled":"Enabled","Disabled":"Disabled","Save":"Save","Add":"Add","Cancel":"Cancel","(active tab)":"(active tab)","Show shortcuts":"Show shortcuts","Sunday":"Sunday","Monday":"Monday","view":"view","Show":"Show","- None -":"- None -","0 sec":"0 sec","@count min":"@count min","@count sec":"@count sec","@count years":"@count years","@count months":"@count months","Hide summary":"Hide summary","Edit summary":"Edit summary","Alias: @alias":"Alias: @alias","No alias":"No alias","Not restricted":"Not restricted","Restricted to certain pages":"Restricted to certain pages","Not customizable":"Not customisable","@count hours":"@count hours","1 sec":"1 sec","Next":"Next","1 min":"1 min","This permission is inherited from the authenticated user role.":"This permission is inherited from the authenticated user role.","1 hour":"1 hour","1 day":"1 day","1 week":"1 week","1 month":"1 month","1 year":"1 year","@count days":"@count days","@count weeks":"@count weeks","Du":"From","Au":"To"}} }; ;/*})'"*/ ;/*})'"*/ (function($) { /** * Initialization */ Drupal.behaviors.prevent_js_alerts = { /** * Run Drupal module JS initialization. * * @param context * @param settings */ attach: function(context, settings) { // Override the alert() function. window.alert = function(text) { // Check if the console exists (required e.g. for older IE versions). if (typeof console != "undefined") { // Log error to console instead. console.error("Module 'prevent_js_alerts' prevented the following alert: " + text); } return true; }; } }; })(jQuery); ;/*})'"*/ ;/*})'"*/