Skip to content

Commit

Permalink
0.6.2, #17 latest version breaks gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
leizh committed Aug 9, 2017
1 parent 9a61016 commit ce923c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion appinfo/app.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
<?php
$eventDispatcher = \OC::$server->getEventDispatcher();
if(\OC_User::isLoggedIn()) {
$eventDispatcher->addListener('OCA\Files::loadAdditionalScripts', function() {
OCP\Util::addTranslations('files_clipboard');
OCP\Util::addScript('files_clipboard', 'clipboard');
OCP\Util::addStyle('files_clipboard', 'clipboard');
});
} else {
OCP\Util::addScript('files_clipboard', 'clearClipboard');
OCP\Util::addScript('files_clipboard', 'clearClipboard');
}
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<name>Files clipboard</name>
<summary>Clipboard operations for the files application</summary>
<description>Minimal clipboard feature for the files application. Allows to copy and move files between directories.</description>
<version>0.6.1</version>
<version>0.6.2</version>
<licence>AGPL</licence>
<author>Leizh</author>
<category>tools</category>
Expand Down
2 changes: 1 addition & 1 deletion appinfo/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.1
0.6.2

0 comments on commit ce923c1

Please sign in to comment.