]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix some long lines in JS - JSLinut recommendation 4612/head
authorMorris Jobke <hey@morrisjobke.de>
Mon, 1 May 2017 03:49:00 +0000 (00:49 -0300)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 1 May 2017 03:49:00 +0000 (00:49 -0300)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
core/js/login/authpicker.js
core/js/systemtags/systemtagsinputfield.js

index 6d8a6bb4160f0ba3ab36b105d83fd0bee264dce7..666a63da3655c3a66646bd5cde2e1bd17c892ee9 100644 (file)
@@ -8,6 +8,8 @@ jQuery(document).ready(function() {
 
        $('#submit-app-token-login').click(function(e) {
                e.preventDefault();
-               window.location.href = 'nc://' + encodeURIComponent($('#user').val()) + ':' + encodeURIComponent($('#password').val()) + '@' + encodeURIComponent($('#serverHost').val());
+               window.location.href = 'nc://'
+                       + encodeURIComponent($('#user').val()) + ':' + encodeURIComponent($('#password').val())
+                       + '@' + encodeURIComponent($('#serverHost').val());
        });
 });
index 62dae1e0a8fb22f0baf6476ae2b495fc689059a4..ba72d4862047002a197a38ef44a794dc2484397b 100644 (file)
                                                        self.collection.fetch({
                                                                success: function(collection) {
                                                                        // find the tag in the collection
-                                                                       var model = collection.where({name: e.object.name.trim(), userVisible: true, userAssignable: true});
+                                                                       var model = collection.where({
+                                                                               name: e.object.name.trim(),
+                                                                               userVisible: true,
+                                                                               userAssignable: true
+                                                                       });
                                                                        if (model.length) {
                                                                                model = model[0];
                                                                                // the tag already exists or was already assigned,