Fix semicolon at end of JS lines
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
4518f6dc64
commit
11b9d224fd
|
@ -17,7 +17,7 @@
|
||||||
showPassword: function(c) {
|
showPassword: function(c) {
|
||||||
|
|
||||||
// Setup callback object
|
// Setup callback object
|
||||||
var callback = {'fn':null,'args':{}}
|
var callback = {'fn':null,'args':{}};
|
||||||
callback.fn = c;
|
callback.fn = c;
|
||||||
|
|
||||||
// Clones passwords and turn the clones into text inputs
|
// Clones passwords and turn the clones into text inputs
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
$input.bind('keyup', function() {
|
$input.bind('keyup', function() {
|
||||||
update( $input, $clone )
|
update( $input, $clone );
|
||||||
});
|
});
|
||||||
|
|
||||||
$clone.bind('keyup', function(){
|
$clone.bind('keyup', function(){
|
||||||
|
|
|
@ -5,4 +5,4 @@
|
||||||
jQuery.ui.autocomplete.prototype._resizeMenu = function () {
|
jQuery.ui.autocomplete.prototype._resizeMenu = function () {
|
||||||
var ul = this.menu.element;
|
var ul = this.menu.element;
|
||||||
ul.outerWidth(this.element.outerWidth());
|
ul.outerWidth(this.element.outerWidth());
|
||||||
}
|
};
|
||||||
|
|
|
@ -1422,7 +1422,7 @@ function initCore() {
|
||||||
} else {
|
} else {
|
||||||
// Close navigation when opening app in
|
// Close navigation when opening app in
|
||||||
// a new tab
|
// a new tab
|
||||||
OC.hideMenus(function(){return false});
|
OC.hideMenus(function(){return false;});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1430,7 +1430,7 @@ function initCore() {
|
||||||
if(event.which === 2) {
|
if(event.which === 2) {
|
||||||
// Close navigation when opening app in
|
// Close navigation when opening app in
|
||||||
// a new tab via middle click
|
// a new tab via middle click
|
||||||
OC.hideMenus(function(){return false});
|
OC.hideMenus(function(){return false;});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1444,7 +1444,7 @@ function initCore() {
|
||||||
} else {
|
} else {
|
||||||
// Close navigation when opening app in
|
// Close navigation when opening app in
|
||||||
// a new tab
|
// a new tab
|
||||||
OC.hideMenus(function(){return false});
|
OC.hideMenus(function(){return false;});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1465,7 +1465,7 @@ function initCore() {
|
||||||
} else {
|
} else {
|
||||||
// Close navigation when opening menu entry in
|
// Close navigation when opening menu entry in
|
||||||
// a new tab
|
// a new tab
|
||||||
OC.hideMenus(function(){return false});
|
OC.hideMenus(function(){return false;});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1473,7 +1473,7 @@ function initCore() {
|
||||||
if(event.which === 2) {
|
if(event.which === 2) {
|
||||||
// Close navigation when opening app in
|
// Close navigation when opening app in
|
||||||
// a new tab via middle click
|
// a new tab via middle click
|
||||||
OC.hideMenus(function(){return false});
|
OC.hideMenus(function(){return false;});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1884,7 +1884,7 @@ OC.Util = {
|
||||||
* @return {boolean} true if the browser supports SVG, false otherwise
|
* @return {boolean} true if the browser supports SVG, false otherwise
|
||||||
*/
|
*/
|
||||||
hasSVGSupport: function(){
|
hasSVGSupport: function(){
|
||||||
return true
|
return true;
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* If SVG is not supported, replaces the given icon's extension
|
* If SVG is not supported, replaces the given icon's extension
|
||||||
|
@ -2385,4 +2385,4 @@ jQuery.fn.tipsy = function(argument) {
|
||||||
jQuery.fn.tooltip.call(this, argument);
|
jQuery.fn.tooltip.call(this, argument);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
};
|
||||||
|
|
|
@ -561,7 +561,7 @@ var OCdialogs = {
|
||||||
.prop('checked', true)
|
.prop('checked', true)
|
||||||
.prop('disabled', true);
|
.prop('disabled', true);
|
||||||
$originalDiv.find('.message')
|
$originalDiv.find('.message')
|
||||||
.text(t('core','read-only'))
|
.text(t('core','read-only'));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//var selection = controller.getSelection(data.originalFiles);
|
//var selection = controller.getSelection(data.originalFiles);
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function rgbToHsl(r, g, b) {
|
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 max = Math.max(r, g, b), min = Math.min(r, g, b);
|
||||||
var h, s, l = (max + min) / 2;
|
var h, s, l = (max + min) / 2;
|
||||||
if(max === min) {
|
if(max === min) {
|
||||||
|
|
|
@ -66,7 +66,7 @@ $(document).ready(function() {
|
||||||
$('.strengthify-wrapper, .tipsy')
|
$('.strengthify-wrapper, .tipsy')
|
||||||
.css('-ms-filter', '"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"')
|
.css('-ms-filter', '"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"')
|
||||||
.css('filter', 'alpha(opacity=30)')
|
.css('filter', 'alpha(opacity=30)')
|
||||||
.css('opacity', .3);
|
.css('opacity', 0.3);
|
||||||
|
|
||||||
// Create the form
|
// Create the form
|
||||||
var form = $('<form>');
|
var form = $('<form>');
|
||||||
|
|
|
@ -369,7 +369,7 @@
|
||||||
var shareType = $this.data('share-type');
|
var shareType = $this.data('share-type');
|
||||||
|
|
||||||
$this.find('div.avatar, span.username').contactsMenu(shareWith, shareType, $this);
|
$this.find('div.avatar, span.username').contactsMenu(shareWith, shareType, $this);
|
||||||
})
|
});
|
||||||
} else {
|
} else {
|
||||||
var permissionChangeShareId = parseInt(this._renderPermissionChange, 10);
|
var permissionChangeShareId = parseInt(this._renderPermissionChange, 10);
|
||||||
var shareWithIndex = this.model.findShareWithIndex(permissionChangeShareId);
|
var shareWithIndex = this.model.findShareWithIndex(permissionChangeShareId);
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
input.attr('title', inputTooltip);
|
input.attr('title', inputTooltip);
|
||||||
}
|
}
|
||||||
if (typeof gravity === 'undefined') {
|
if (typeof gravity === 'undefined') {
|
||||||
gravity = 'n'
|
gravity = 'n';
|
||||||
}
|
}
|
||||||
select = $(select);
|
select = $(select);
|
||||||
input.css('position', 'absolute');
|
input.css('position', 'absolute');
|
||||||
|
|
Loading…
Reference in New Issue