]> source.dussan.org Git - nextcloud-server.git/commitdiff
Move space
authorMichael Gapczynski <mtgap@owncloud.com>
Tue, 26 Feb 2013 01:52:01 +0000 (20:52 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Tue, 26 Feb 2013 01:52:01 +0000 (20:52 -0500)
core/js/share.js

index faa64103b7b82329dcf0d10a79fc255213b707d1..f8a8e0ee35a95472b9f6b75446b2a8330094e2df 100644 (file)
@@ -26,7 +26,7 @@ OC.Share={
                                                        var action = $(file).find('.fileactions .action').filterAttr('data-action', 'Share');
                                                        var img = action.find('img').attr('src', image);
                                                        action.addClass('permanent');
-                                                       action.html(t('core', ' Shared')).prepend(img);
+                                                       action.html(' '+t('core', 'Shared')).prepend(img);
                                                }
                                                var dir = $('#dir').val();
                                                if (dir.length > 1) {
@@ -40,7 +40,7 @@ OC.Share={
                                                                        if (img.attr('src') != OC.imagePath('core', 'actions/public')) {
                                                                                img.attr('src', image);
                                                                                action.addClass('permanent');
-                                                                               action.html(t('core', ' Shared')).prepend(img);
+                                                                               action.html(' '+t('core', 'Shared')).prepend(img);
                                                                        }
                                                                }
                                                                last = path;
@@ -87,10 +87,10 @@ OC.Share={
                        var img = action.find('img').attr('src', image);
                        if (shares) {
                                action.addClass('permanent');
-                               action.html(t('core', ' Shared')).prepend(img);
+                               action.html(' '+t('core', 'Shared')).prepend(img);
                        } else {
                                action.removeClass('permanent');
-                               action.html(t('core', ' Share')).prepend(img);
+                               action.html(' '+t('core', 'Share')).prepend(img);
                        }
                }
                if (shares) {