diff --git a/cps/helper.py b/cps/helper.py
index 5285b13e..152bcd25 100755
--- a/cps/helper.py
+++ b/cps/helper.py
@@ -135,6 +135,11 @@ def send_mail(book_id, kindle_mail, calibrepath, user_id):
return _(u"The requested file could not be read. Maybe wrong permissions?")
+# Convert existing book entry to new format
+#def convert_book_format(book_id, calibrepath, new_book_format, user_id):
+
+# return
+
def get_valid_filename(value, replace_whitespace=True):
"""
Returns the given string converted to a string that can be used for a clean
diff --git a/cps/static/js/edit_books.js b/cps/static/js/edit_books.js
index e86c78e9..b4a98a80 100644
--- a/cps/static/js/edit_books.js
+++ b/cps/static/js/edit_books.js
@@ -254,3 +254,7 @@ $("#btn-upload-cover").on("change", function () {
} // Remove c:\fake at beginning from localhost chrome
$("#upload-cover").html(filename);
});
+
+$("#btn-book-convert").on("change", function () {
+ alert("woot");
+});
diff --git a/cps/templates/book_edit.html b/cps/templates/book_edit.html
index abe41923..1efaf1f0 100644
--- a/cps/templates/book_edit.html
+++ b/cps/templates/book_edit.html
@@ -1,7 +1,7 @@
{% extends "layout.html" %}
{% block body %}
{% if book %}
-