remove unused webODF unstable setting
parent
c406216116
commit
a32c1e2be3
@ -1,15 +0,0 @@
|
|||||||
$(document).ready(function(){
|
|
||||||
|
|
||||||
var documentsSettings = {
|
|
||||||
save : function() {
|
|
||||||
var data = {
|
|
||||||
unstable : $('#webodf-unstable').attr('checked')==="checked"
|
|
||||||
};
|
|
||||||
$.post(OC.generateUrl('apps/richdocuments/ajax/config/unstable'), data, documentsSettings.afterSave);
|
|
||||||
},
|
|
||||||
afterSave : function(){
|
|
||||||
documentsMain.useUnstable = $('#webodf-unstable').attr('checked')==="checked";
|
|
||||||
}
|
|
||||||
};
|
|
||||||
$('#webodf-unstable').change(documentsSettings.save);
|
|
||||||
});
|
|
@ -1,15 +0,0 @@
|
|||||||
<?php
|
|
||||||
script('richdocuments', 'settings');
|
|
||||||
?>
|
|
||||||
<div id="documents" class="section">
|
|
||||||
<h2><?php p($l->t('Documents')) ?></h2>
|
|
||||||
<input id="webodf-unstable" type ="checkbox"
|
|
||||||
<?php if ($_['unstable'] === 'true'){ ?>
|
|
||||||
checked="checked"
|
|
||||||
<?php } ?>
|
|
||||||
/>
|
|
||||||
<label for="webodf-unstable">
|
|
||||||
<?php p($l->t('Advanced feature-set'))?>
|
|
||||||
<?php p($l->t('(Unstable)')); ?>
|
|
||||||
</label>
|
|
||||||
</div>
|
|
Loading…
Reference in New Issue