From 542aa812f8606dad16ab456c3e5da438cc501644 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Wed, 11 May 2016 17:47:17 +0200 Subject: support media endpoint, autosave notes in local storage * looks for a media endpoint in the micropub config * if media endpoint is available, both the note interface and the editor will upload files to it instead of posting the photo directly * the note interface autosaves in-progress notes in localstorage --- views/partials/syndication-js.php | 1 + 1 file changed, 1 insertion(+) (limited to 'views/partials/syndication-js.php') diff --git a/views/partials/syndication-js.php b/views/partials/syndication-js.php index 6267327..cd50c3b 100644 --- a/views/partials/syndication-js.php +++ b/views/partials/syndication-js.php @@ -20,6 +20,7 @@ function reload_syndications() { function bind_syndication_buttons() { $("#syndication-container button").unbind("click").click(function(){ $(this).toggleClass('btn-info'); + saveNoteState(); return false; }); } -- cgit v1.2.3