Elgg  Version 3.0
Functions
admin.js File Reference

Go to the source code of this file.

Functions

 define (function(require){var $=require('jquery');function init(){$(document).on('click', 'input:checkbox.elgg-state-disabled, label.elgg-state-disabled > input:checkbox', function(){return false;});$('[name=simplecache_enabled]').click(simplecacheToggle);}function simplecacheToggle(){if(!$(this).hasClass('elgg-state-disabled')){var names=['simplecache_minify_js', 'simplecache_minify_css', 'cache_symlink_enabled'];for(var i=0;i< names.length;i++){var $input=$('input[type!=hidden][name="' + names[i] + '"]');if($input.length){$input.parent().toggleClass('elgg-state-disabled');}}}}init();})
 Admin-area specific javascript functions. More...
 

Function Documentation

define ( function(require){var $=require('jquery');function init(){$(document).on('click', 'input:checkbox.elgg-state-disabled, label.elgg-state-disabled > input:checkbox', function(){return false;});$('[name=simplecache_enabled]').click(simplecacheToggle);}function simplecacheToggle(){if(!$(this).hasClass('elgg-state-disabled')){var names=['simplecache_minify_js', 'simplecache_minify_css', 'cache_symlink_enabled'];for(var i=0;i< names.length;i++){var $input=$('input[type!=hidden][name="' + names[i] + '"]');if($input.length){$input.parent().toggleClass('elgg-state-disabled');}}}}init();}  )

Admin-area specific javascript functions.

Since
1.8
Parameters
function(require){var$=require('jquery');function init(){.on('click', 'input:checkbox.elgg-state-disabled, label.elgg-state-disabled > input:checkbox', function(){return false;});$('[name=simplecache_enabled]').click(simplecacheToggle);}function simplecacheToggle(){if(!.hasClass('elgg-state-disabled')){var names=['simplecache_minify_js', 'simplecache_minify_css', 'cache_symlink_enabled'];for(var i=0;i< names.length;i++){var $input=$('input[type!=hidden][name="' + names[i] + '"]');if($input.length){$input.parent().toggleClass('elgg-state-disabled');}}}}init();} Toggles the display of the compression settings for simplecache
Returns
void