summaryrefslogtreecommitdiff
path: root/views/partials
diff options
context:
space:
mode:
Diffstat (limited to 'views/partials')
-rw-r--r--views/partials/appcache.php28
-rw-r--r--views/partials/syndication-js.php3
2 files changed, 2 insertions, 29 deletions
diff --git a/views/partials/appcache.php b/views/partials/appcache.php
deleted file mode 100644
index 2e76754..0000000
--- a/views/partials/appcache.php
+++ /dev/null
@@ -1,28 +0,0 @@
-CACHE MANIFEST
-
-# v25
-
-/editor
-/editor/style.css
-/editor/medium-editor/css/medium-editor.min.css
-/editor/medium-editor/css/themes/default.min.css
-/editor/medium-editor/css/medium-editor-insert-plugin.min.css
-/editor/medium-editor/css/medium-editor-insert-plugin-frontend.min.css
-/editor/font-awesome/css/font-awesome.css
-/editor/jquery-1.11.3.min.js
-/editor/jquery-ui-1.11.4.custom/jquery-ui.min.js
-/editor/jquery.fileupload.js
-/editor/jquery.iframetransport.js
-/editor/handlebars.min.js
-/editor/medium-editor/js/medium-editor.min.js
-/editor/medium-editor/js/medium-editor-insert-plugin.min.js
-/editor/localforage/localforage.js
-/editor/quill-logo-36.png
-# /editor/editor.js
-/editor/font-awesome/fonts/fontawesome-webfont.woff2?v=4.3.0
-/editor/font-awesome/fonts/fontawesome-webfont.woff?v=4.3.0
-/editor/font-awesome/fonts/fontawesome-webfont.ttf?v=4.3.0
-
-NETWORK:
-*
-
diff --git a/views/partials/syndication-js.php b/views/partials/syndication-js.php
index bd657f3..088cb43 100644
--- a/views/partials/syndication-js.php
+++ b/views/partials/syndication-js.php
@@ -5,8 +5,9 @@ function reload_syndications() {
$("#syndication-container").html('<ul></ul>');
for(var i in data.targets) {
var target = data.targets[i].target;
+ var uid = data.targets[i].uid;
var favicon = data.targets[i].favicon;
- $("#syndication-container ul").append('<li><button data-syndication="'+target+'" class="btn btn-default btn-block"><img src="'+favicon+'" width="16" height="16"> '+target+'</button></li>');
+ $("#syndication-container ul").append('<li><button data-syndicate-to="'+(uid ? uid : target)+'" class="btn btn-default btn-block">'+(favicon ? '<img src="'+favicon+'" width="16" height="16"> ':'')+target+'</button></li>');
}
bind_syndication_buttons();
} else {