Merge pull request #109 from timar/master
remove unused 'Save new documents to' setting, fixes #76pull/1/head
commit
0806876fd0
@ -1,21 +0,0 @@
|
||||
$(document).ready(function(){
|
||||
var documentsSettings = {
|
||||
save : function() {
|
||||
var data = {
|
||||
savePath : $('#documents-default-path').val()
|
||||
};
|
||||
OC.msg.startSaving('#documents-personal .msg');
|
||||
$.post(OC.filePath('richdocuments', 'ajax', 'personal.php'), data, documentsSettings.afterSave);
|
||||
},
|
||||
afterSave : function(data){
|
||||
OC.msg.finishedSaving('#documents-personal .msg', data);
|
||||
}
|
||||
};
|
||||
$('#documents-default-path').blur(documentsSettings.save);
|
||||
$('#documents-default-path').keypress(function( event ) {
|
||||
if (event.which == 13) {
|
||||
event.preventDefault();
|
||||
documentsSettings.save();
|
||||
}
|
||||
});
|
||||
});
|
@ -1,19 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* ownCloud - Richdocuments App
|
||||
*
|
||||
* @author Victor Dubiniuk
|
||||
* @copyright 2013 Victor Dubiniuk victor.dubiniuk@gmail.com
|
||||
*
|
||||
* This file is licensed under the Affero General Public License version 3 or
|
||||
* later.
|
||||
*/
|
||||
|
||||
namespace OCA\Richdocuments;
|
||||
|
||||
use \OCA\Richdocuments\AppInfo\Application;
|
||||
|
||||
$app = new Application();
|
||||
$response = $app->getContainer()->query('\OCA\Richdocuments\Controller\SettingsController')->personalIndex();
|
||||
return $response->render();
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
script('richdocuments', 'personal');
|
||||
?>
|
||||
<div class="section" id="richdocuments-personal">
|
||||
<h2><?php p($l->t('Collabora Online')); ?></h2>
|
||||
<div>
|
||||
<label for="documents-default-path"><?php p($l->t('Save new documents to')) ?></label>
|
||||
<input type="text" id="documents-default-path" value="<?php p($_['save_path']) ?>" /><span class="msg"></span>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue