From 482c94501ab173cd29cbc7f122a5c790d49ead4f Mon Sep 17 00:00:00 2001 From: Johannes Wilm Date: Sat, 9 Dec 2017 22:49:16 +0100 Subject: [PATCH] 3.3.3: remove outdated style imports --- book/static/js/es6_modules/books/actions.js | 10 ++++------ setup.py | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/book/static/js/es6_modules/books/actions.js b/book/static/js/es6_modules/books/actions.js index 548827a..f674a92 100644 --- a/book/static/js/es6_modules/books/actions.js +++ b/book/static/js/es6_modules/books/actions.js @@ -5,8 +5,6 @@ import {bookListTemplate, } from "./templates" import {ImageDB} from "../images/database" import {ImageSelectionDialog} from "../images/selection-dialog" -import {defaultDocumentStyle, documentStyleList} from "../style/documentstyle-list" -import {defaultCitationStyle, citationDefinitions} from "../style/citation-definitions" import {deactivateWait, addAlert, csrfToken} from "../common" @@ -310,8 +308,8 @@ export class BookActions { keywords: '' }, settings: { - citationstyle: defaultCitationStyle, - documentstyle: defaultDocumentStyle, + citationstyle: this.bookList.styles.citation_styles[0], + documentstyle: this.bookList.styles.document_styles[0], papersize: 'octavo' } } @@ -334,8 +332,8 @@ export class BookActions { dialogHeader, book, documentList: this.bookList.documentList, - citationDefinitions, - documentStyleList, + citationDefinitions: this.bookList.styles.citation_styles, + documentStyleList: this.bookList.styles.document_styles, imageDB: {db: Object.assign({}, imageDB.db, bookImageDB.db)} }) let that = this diff --git a/setup.py b/setup.py index 5861988..e7ab6d9 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='fiduswriter-books', - version='3.3.2', + version='3.3.3', packages=find_packages(), include_package_data=True, license='AGPL License',