diff --git a/build.sh b/build.sh index badde62..fa1568f 100755 --- a/build.sh +++ b/build.sh @@ -3,7 +3,7 @@ git log | grep -m 1 commit commit=`git log | grep -m 1 commit ` commitnick=${commit:7:10} -commitnick='0.5' +commitnick='0.6' echo "updating version information in inline_keywords.yaml with latest git commit $commitnick" sed -ibk "s/version: .*/version: $commitnick/" inline_keywords.yaml rm inline_keywords.yamlbk diff --git a/config/config.php b/config/config.php index a7dbf46..765d447 100644 --- a/config/config.php +++ b/config/config.php @@ -15,4 +15,5 @@ $inline_keywords_usertype = 'a'; $inline_keywords_background_colour = 'hotPink'; $inline_keywords_use_jQuery_ui = True; -$inline_keywords_use_legacy_jQuery = True; \ No newline at end of file +$inline_keywords_use_legacy_jQuery = True; +$inline_keywords_clear_fields_on_submit = True; \ No newline at end of file diff --git a/hooks/search.php b/hooks/search.php index 52a542e..74ca4d6 100644 --- a/hooks/search.php +++ b/hooks/search.php @@ -16,6 +16,10 @@ function HookInline_keywordsSearchSearchbarbottomtoolbar()
++ + +
"> "> @@ -28,12 +32,18 @@ function HookInline_keywordsSearchSearchbarbottomtoolbar() } function HookInline_keywordsSearchAdditionalheaderjs() { - global $baseurl, $inline_keywords_usertype, $inline_keywords_background_colour; + global $baseurl, $inline_keywords_usertype, $inline_keywords_background_colour, $inline_keywords_clear_fields_on_submit; if(checkperm($inline_keywords_usertype)) { ?>