fix trailing whitespace noted by Scrutinizer

This commit is contained in:
Jan-Christoph Borchardt 2014-06-27 18:25:56 +02:00
parent 7a1b45c43b
commit b7cb4f5a63
2 changed files with 5 additions and 5 deletions

View file

@ -24,7 +24,7 @@ function updatePrivateKeyPasswd() {
$(document).ready(function(){
// Trigger ajax on recoveryAdmin status change
$( 'input:radio[name="userEnableRecovery"]' ).change(
$( 'input:radio[name="userEnableRecovery"]' ).change(
function() {
// Hide feedback messages in case they're already visible
@ -33,7 +33,7 @@ $(document).ready(function(){
var recoveryStatus = $( this ).val();
$.post(
$.post(
OC.filePath( 'files_encryption', 'ajax', 'userrecovery.php' )
, { userEnableRecovery: recoveryStatus }
, function( data ) {
@ -49,7 +49,7 @@ $(document).ready(function(){
}
);
$("#encryptAll").click(
$("#encryptAll").click(
function(){
// Hide feedback messages in case they're already visible
@ -59,7 +59,7 @@ $(document).ready(function(){
var userPassword = $( '#userPassword' ).val();
var encryptAll = $( '#encryptAll' ).val();
$.post(
$.post(
OC.filePath( 'files_encryption', 'ajax', 'encryptall.php' )
, { encryptAll: encryptAll, userPassword: userPassword }
, function( data ) {

View file

@ -55,7 +55,7 @@ describe('OCA.Sharing.App tests', function() {
describe('initialization', 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() {
expect(fileListOut._sharedWithUser).toBeFalsy();