Merge pull request #9265 from owncloud/fix-whitespace
fix trailing whitespace noted by Scrutinizer
This commit is contained in:
commit
d5462fdb50
2 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,7 @@ function updatePrivateKeyPasswd() {
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|
||||||
// Trigger ajax on recoveryAdmin status change
|
// Trigger ajax on recoveryAdmin status change
|
||||||
$( 'input:radio[name="userEnableRecovery"]' ).change(
|
$( 'input:radio[name="userEnableRecovery"]' ).change(
|
||||||
function() {
|
function() {
|
||||||
|
|
||||||
// Hide feedback messages in case they're already visible
|
// Hide feedback messages in case they're already visible
|
||||||
|
@ -33,7 +33,7 @@ $(document).ready(function(){
|
||||||
|
|
||||||
var recoveryStatus = $( this ).val();
|
var recoveryStatus = $( this ).val();
|
||||||
|
|
||||||
$.post(
|
$.post(
|
||||||
OC.filePath( 'files_encryption', 'ajax', 'userrecovery.php' )
|
OC.filePath( 'files_encryption', 'ajax', 'userrecovery.php' )
|
||||||
, { userEnableRecovery: recoveryStatus }
|
, { userEnableRecovery: recoveryStatus }
|
||||||
, function( data ) {
|
, function( data ) {
|
||||||
|
@ -49,7 +49,7 @@ $(document).ready(function(){
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
$("#encryptAll").click(
|
$("#encryptAll").click(
|
||||||
function(){
|
function(){
|
||||||
|
|
||||||
// Hide feedback messages in case they're already visible
|
// Hide feedback messages in case they're already visible
|
||||||
|
@ -59,7 +59,7 @@ $(document).ready(function(){
|
||||||
var userPassword = $( '#userPassword' ).val();
|
var userPassword = $( '#userPassword' ).val();
|
||||||
var encryptAll = $( '#encryptAll' ).val();
|
var encryptAll = $( '#encryptAll' ).val();
|
||||||
|
|
||||||
$.post(
|
$.post(
|
||||||
OC.filePath( 'files_encryption', 'ajax', 'encryptall.php' )
|
OC.filePath( 'files_encryption', 'ajax', 'encryptall.php' )
|
||||||
, { encryptAll: encryptAll, userPassword: userPassword }
|
, { encryptAll: encryptAll, userPassword: userPassword }
|
||||||
, function( data ) {
|
, function( data ) {
|
||||||
|
|
|
@ -55,7 +55,7 @@ describe('OCA.Sharing.App tests', function() {
|
||||||
|
|
||||||
describe('initialization', function() {
|
describe('initialization', function() {
|
||||||
it('inits sharing-in list on show', function() {
|
it('inits sharing-in list on show', function() {
|
||||||
expect(fileListIn._sharedWithUser).toEqual(true);
|
expect(fileListIn._sharedWithUser).toEqual(true);
|
||||||
});
|
});
|
||||||
it('inits sharing-out list on show', function() {
|
it('inits sharing-out list on show', function() {
|
||||||
expect(fileListOut._sharedWithUser).toBeFalsy();
|
expect(fileListOut._sharedWithUser).toBeFalsy();
|
||||||
|
|
Loading…
Reference in a new issue