showPassword: function(c) {
// Setup callback object
- var callback = {'fn':null,'args':{}}
- callback.fn = c;
+ var callback = {'fn':null,'args':{}};
+ callback.fn = c;
// Clones passwords and turn the clones into text inputs
var cloneElement = function( element ) {
});
$input.bind('keyup', function() {
- update( $input, $clone )
+ update( $input, $clone );
});
$clone.bind('keyup', function(){
jQuery.ui.autocomplete.prototype._resizeMenu = function () {
var ul = this.menu.element;
ul.outerWidth(this.element.outerWidth());
-}
+};
} else {
// Close navigation when opening app in
// a new tab
- OC.hideMenus(function(){return false});
+ OC.hideMenus(function(){return false;});
}
});
if(event.which === 2) {
// Close navigation when opening app in
// a new tab via middle click
- OC.hideMenus(function(){return false});
+ OC.hideMenus(function(){return false;});
}
});
} else {
// Close navigation when opening app in
// a new tab
- OC.hideMenus(function(){return false});
+ OC.hideMenus(function(){return false;});
}
});
}
} else {
// Close navigation when opening menu entry in
// a new tab
- OC.hideMenus(function(){return false});
+ OC.hideMenus(function(){return false;});
}
});
if(event.which === 2) {
// Close navigation when opening app in
// a new tab via middle click
- OC.hideMenus(function(){return false});
+ OC.hideMenus(function(){return false;});
}
});
}
* @return {boolean} true if the browser supports SVG, false otherwise
*/
hasSVGSupport: function(){
- return true
+ return true;
},
/**
* If SVG is not supported, replaces the given icon's extension
jQuery.fn.tooltip.call(this, argument);
}
return this;
-}
+};
.prop('checked', true)
.prop('disabled', true);
$originalDiv.find('.message')
- .text(t('core','read-only'))
+ .text(t('core','read-only'));
}
};
//var selection = controller.getSelection(data.originalFiles);
}
function rgbToHsl(r, g, b) {
- r /= 255, g /= 255, b /= 255;
+ r /= 255; g /= 255; b /= 255;
var max = Math.max(r, g, b), min = Math.min(r, g, b);
var h, s, l = (max + min) / 2;
if(max === min) {
$('.strengthify-wrapper, .tipsy')
.css('-ms-filter', '"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"')
.css('filter', 'alpha(opacity=30)')
- .css('opacity', .3);
+ .css('opacity', 0.3);
// Create the form
var form = $('<form>');
var shareType = $this.data('share-type');
$this.find('div.avatar, span.username').contactsMenu(shareWith, shareType, $this);
- })
+ });
} else {
var permissionChangeShareId = parseInt(this._renderPermissionChange, 10);
var shareWithIndex = this.model.findShareWithIndex(permissionChangeShareId);
input.attr('title', inputTooltip);
}
if (typeof gravity === 'undefined') {
- gravity = 'n'
+ gravity = 'n';
}
select = $(select);
input.css('position', 'absolute');