diff --git a/styles/bootstrap/application.js b/styles/bootstrap/application.js
index a36a3da2c..0b68d7bc8 100644
--- a/styles/bootstrap/application.js
+++ b/styles/bootstrap/application.js
@@ -128,76 +128,6 @@ $(document).ready( function() {
}
});
- $('body').on('click', 'button.removedocument', function(ev){
- ev.preventDefault();
- attr_rel = $(ev.currentTarget).attr('rel');
- attr_msg = $(ev.currentTarget).attr('msg');
- attr_formtoken = $(ev.currentTarget).attr('formtoken');
- id = attr_rel;
- $.get('../op/op.Ajax.php',
- { command: 'deletedocument', id: id, formtoken: attr_formtoken },
- function(data) {
-// console.log(data);
- if(data.success) {
- $('#table-row-document-'+id).hide('slow');
- noty({
- text: attr_msg,
- type: 'success',
- dismissQueue: true,
- layout: 'topRight',
- theme: 'defaultTheme',
- timeout: 1500,
- });
- } else {
- noty({
- text: data.message,
- type: 'error',
- dismissQueue: true,
- layout: 'topRight',
- theme: 'defaultTheme',
- timeout: 3500,
- });
- }
- },
- 'json'
- );
- });
-
- $('body').on('click', 'button.removefolder', function(ev){
- ev.preventDefault();
- attr_rel = $(ev.currentTarget).attr('rel');
- attr_msg = $(ev.currentTarget).attr('msg');
- attr_formtoken = $(ev.currentTarget).attr('formtoken');
- id = attr_rel;
- $.get('../op/op.Ajax.php',
- { command: 'deletefolder', id: id, formtoken: attr_formtoken },
- function(data) {
-// console.log(data);
- if(data.success) {
- $('#table-row-folder-'+id).hide('slow');
- noty({
- text: attr_msg,
- type: 'success',
- dismissQueue: true,
- layout: 'topRight',
- theme: 'defaultTheme',
- timeout: 1500,
- });
- } else {
- noty({
- text: data.message,
- type: 'error',
- dismissQueue: true,
- layout: 'topRight',
- theme: 'defaultTheme',
- timeout: 3500,
- });
- }
- },
- 'json'
- );
- });
-
$('body').on('click', 'a.addtoclipboard', function(ev){
ev.preventDefault();
attr_rel = $(ev.currentTarget).attr('rel');
diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php
index 024ffb2e4..8813b5b07 100644
--- a/views/bootstrap/class.Bootstrap.php
+++ b/views/bootstrap/class.Bootstrap.php
@@ -98,10 +98,12 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
$this->extraheader[$type] .= $head;
} /* }}} */
- function htmlEndPage() { /* {{{ */
- $this->footNote();
- if($this->params['showmissingtranslations']) {
- $this->missingḺanguageKeys();
+ function htmlEndPage($nofooter=false) { /* {{{ */
+ if(!$nofooter) {
+ $this->footNote();
+ if($this->params['showmissingtranslations']) {
+ $this->missingḺanguageKeys();
+ }
}
echo ''."\n";
echo ''."\n";
@@ -122,7 +124,7 @@ $(document).ready(function () {
";
}
if(method_exists($this, 'js'))
- echo ''."\n";
+ echo ''."\n";
echo "