Integrate sharing app with the new interface
This commit is contained in:
parent
fcc9f50641
commit
1fc41a7bfc
2 changed files with 2 additions and 3 deletions
|
@ -8,6 +8,6 @@ OC_APP::addNavigationEntry( array( "id" => "files_sharing_list",
|
|||
"order" => 10,
|
||||
"href" => OC_HELPER::linkTo( "files_sharing", "list.php" ),
|
||||
"name" => "Share",
|
||||
"icon" => OC_HELPER::imagePath( "files_sharing", "share.png" )));
|
||||
"icon" => OC_HELPER::imagePath( "core", "actions/share.png" )));
|
||||
|
||||
?>
|
|
@ -1,6 +1,5 @@
|
|||
$(document).ready(function() {
|
||||
$('.share').click(function(event) {
|
||||
event.preventDefault();
|
||||
FileActions.register('all', 'Share', OC.imagePath('core', 'actions/share'), function(filename) {
|
||||
var html = "<div id='dialog' title='Share "+getSelectedFiles('name')+"' align='center'>";
|
||||
html += "<label><input type='radio' name='share_type' value='private' checked='checked' /> Private</label>";
|
||||
html += "<label><input type='radio' name='share_type' value='public' /> Public</label>";
|
||||
|
|
Loading…
Reference in a new issue