Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge current upstream state #1

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
c0ee772
Form-bezogene JS in eigene Datei auslagern
dariok Nov 5, 2018
4ff0a5f
Update installation instructions
dariok Nov 5, 2018
ca79fba
load configuration
dariok Nov 5, 2018
ef70269
create example config file
dariok Nov 5, 2018
9c3c445
select2 needs to stay in HTML file
dariok Nov 6, 2018
20e4993
removed fixed options from type
dariok Nov 6, 2018
b868d54
change option loading
dariok Nov 6, 2018
746916e
get types options from config
dariok Nov 6, 2018
dfac04b
load types, query, processing
dariok Nov 6, 2018
d14ed1b
use local function to process query result
dariok Nov 6, 2018
48c8ac0
example functions for query assembly and data processing
dariok Nov 6, 2018
b4d538d
Update installation and usage instructions
dariok Nov 6, 2018
de0cda3
onSubmit anpassen
dariok Nov 12, 2018
ac8d100
iclude project function to handle errors
dariok Nov 22, 2018
a8ccd98
provide support for different means of authentication
dariok Nov 24, 2018
f56a5b6
Update docu to reflect requirements of manifest storage
dariok Nov 24, 2018
c15b08b
Update readme to include config and user functions
dariok Nov 24, 2018
34056d3
Update README.md
dariok Dec 1, 2018
71693e9
pass the entity type through to evalresult()
dariok Jan 29, 2019
6c878a9
Merge branch 'master' of https://github.com/dariok/officeEntityPlugin…
dariok Jan 29, 2019
8cc7f38
(suggested) list of German expression for apparatus
dariok Feb 13, 2019
e9ddd72
extended list of German suggestions for crit. app.
dariok Feb 13, 2019
1e5b8af
add docu for new function insertText
dariok Feb 13, 2019
554a620
adjust content of HTML
dariok Feb 13, 2019
bcccc82
Merge branch 'master' of https://github.com/dariok/officeEntityPlugin…
dariok Feb 13, 2019
d2ed073
add function stub “insertText(elements)”
dariok Feb 13, 2019
8c75747
make more general
dariok Feb 13, 2019
79233a6
add function for text based on config.strings
dariok Feb 13, 2019
7035083
form.js calls insertLink in process.js
dariok Feb 13, 2019
99882f5
Update README.md
dariok Feb 13, 2019
adc9b13
do not enforce the use of JSON
dariok Apr 2, 2019
cc04ebe
Merge branch 'master' of https://github.com/dariok/officeEntityPlugin…
dariok Apr 3, 2019
7cfe100
include the poss. to output text for entity
dariok May 7, 2019
224dfce
evaluate app strings only when set in config
dariok Oct 29, 2021
1b91825
Update Usage documentation to lastest findings
dariok Oct 29, 2021
88f5d90
read "strings" prop only if set in config
dariok Oct 29, 2021
fc1f5ea
check for presence of config option before evaluating
dariok Nov 16, 2021
890d91a
apply uniform indentation of 2 spaces
dariok Nov 16, 2021
527f76e
HTML: add forms for paragraph and text styles
dariok Nov 16, 2021
d7367d4
pass on conf explicitly
dariok Nov 17, 2021
b0bf448
apply paragraph styles
dariok Nov 17, 2021
810315a
prepare step to extract/filter known styles
dariok Nov 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
get types options from config
  • Loading branch information
dariok committed Nov 6, 2018
commit 746916e1f5510cc3bde28b112a85c992c8f3cd00
4 changes: 4 additions & 0 deletions form.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
var conf =[];
$.getJSON('config.json', function (data) {
conf = data.data;

Object.keys(conf.types).forEach(function(key) {
$('#type').append($('<option>', { text:conf.types[key], value: key }));
});
});

$('body').on('submit', 'form#person-form', function (event) {