diff options
author | nodiscc <nodiscc@gmail.com> | 2015-01-11 14:56:22 +0100 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2015-01-11 14:56:22 +0100 |
commit | 486f25a5f4ab2a9191618edcb89ebb61350ff600 (patch) | |
tree | c19fbb34904a1c5148202d01fa723d29b0e1557d /tpl/changetag.html | |
parent | a2d5ef2127881561bf359390fac2d8d336a37335 (diff) | |
parent | fe16b01edb80ac2f2212125fadba8358dff91b95 (diff) | |
download | Shaarli-486f25a5f4ab2a9191618edcb89ebb61350ff600.tar.gz Shaarli-486f25a5f4ab2a9191618edcb89ebb61350ff600.tar.zst Shaarli-486f25a5f4ab2a9191618edcb89ebb61350ff600.zip |
Merge pull request #93 from ArthurHoaro/scripttag
Remove language attribute on script tag and improve QRCode JS
Diffstat (limited to 'tpl/changetag.html')
-rw-r--r-- | tpl/changetag.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/changetag.html b/tpl/changetag.html index 79fea9a9..fdfb0b37 100644 --- a/tpl/changetag.html +++ b/tpl/changetag.html | |||
@@ -12,11 +12,11 @@ | |||
12 | <input type="text" name="totag" id="totag"> | 12 | <input type="text" name="totag" id="totag"> |
13 | <input type="submit" name="renametag" value="Rename tag" class="bigbutton"> | 13 | <input type="submit" name="renametag" value="Rename tag" class="bigbutton"> |
14 | or <input type="submit" name="deletetag" value="Delete tag" class="bigbutton" onClick="return confirmDeleteTag();"><br>(Case sensitive)</form> | 14 | or <input type="submit" name="deletetag" value="Delete tag" class="bigbutton" onClick="return confirmDeleteTag();"><br>(Case sensitive)</form> |
15 | <script language="JavaScript">function confirmDeleteTag() { var agree=confirm("Are you sure you want to delete this tag from all links ?"); if (agree) return true ; else return false ; }</script> | 15 | <script>function confirmDeleteTag() { var agree=confirm("Are you sure you want to delete this tag from all links ?"); if (agree) return true ; else return false ; }</script> |
16 | </div> | 16 | </div> |
17 | {include="page.footer"} | 17 | {include="page.footer"} |
18 | {if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"} | 18 | {if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"} |
19 | <script language="JavaScript"> | 19 | <script> |
20 | $(document).ready(function() | 20 | $(document).ready(function() |
21 | { | 21 | { |
22 | $('#fromtag').autocomplete({source:'{$source}?ws=singletag',minLength:1}); | 22 | $('#fromtag').autocomplete({source:'{$source}?ws=singletag',minLength:1}); |