aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-05-10 04:47:31 +0000
committerrvelices <rv-github@modusoptimus.com>2013-05-10 04:47:31 +0000
commit3e083a55979d96ee615aedba0fef2f1a7808d03e (patch)
tree4347217941e5ce7ed7eb1c98aae08c3d7614054d /admin/themes/default
parent896805f2677077f1c8032436171bd7f6da81b8e4 (diff)
compatibility with jquery 1.9.1
git-svn-id: http://piwigo.org/svn/trunk@22579 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/element_set_ranks.tpl6
-rw-r--r--admin/themes/default/template/notification_by_mail.tpl12
2 files changed, 9 insertions, 9 deletions
diff --git a/admin/themes/default/template/element_set_ranks.tpl b/admin/themes/default/template/element_set_ranks.tpl
index be5019e24..dfdafdc2e 100644
--- a/admin/themes/default/template/element_set_ranks.tpl
+++ b/admin/themes/default/template/element_set_ranks.tpl
@@ -17,7 +17,7 @@ jQuery(document).ready(function() {
});
});
- jQuery('#image_order_rank').attr('checked', true);
+ jQuery('#image_order_rank').prop('checked', true);
checkOrderOptions();
}
});
@@ -43,7 +43,7 @@ jQuery('.thumbnail').tipTip({
<form action="{$F_ACTION}" method="post">
{if !empty($thumbnails)}
- <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="submit"></p>
+ <p><input type="submit" value="{'Submit'|@translate}" name="submit"></p>
<fieldset>
<legend>{'Manual order'|@translate}</legend>
{if !empty($thumbnails)}
@@ -84,7 +84,7 @@ jQuery('.thumbnail').tipTip({
</div>
</fieldset>
<p>
- <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit">
+ <input type="submit" value="{'Submit'|@translate}" name="submit">
<label>
<input type="checkbox" name="image_order_subcats" id="image_order_subcats">
diff --git a/admin/themes/default/template/notification_by_mail.tpl b/admin/themes/default/template/notification_by_mail.tpl
index 69acaaca5..fa7ba7003 100644
--- a/admin/themes/default/template/notification_by_mail.tpl
+++ b/admin/themes/default/template/notification_by_mail.tpl
@@ -4,12 +4,12 @@
jQuery(document).ready(function(){
jQuery("#checkAllLink").click(function () {
- jQuery("#notification_by_mail input[type=checkbox]").attr('checked', true);
+ jQuery("#notification_by_mail input[type=checkbox]").prop('checked', true);
return false;
});
jQuery("#uncheckAllLink").click(function () {
- jQuery("#notification_by_mail input[type=checkbox]").attr('checked', false);
+ jQuery("#notification_by_mail input[type=checkbox]").prop('checked', false);
return false;
});
@@ -24,7 +24,7 @@ jQuery(document).ready(function(){
{if isset($REPOST_SUBMIT_NAME)}
<fieldset>
<div class="infos">
- <input class="submit" type="submit" value="{'Continue processing treatment'|@translate}" name="{$REPOST_SUBMIT_NAME}">
+ <input type="submit" value="{'Continue processing treatment'|@translate}" name="{$REPOST_SUBMIT_NAME}">
</div>
</fieldset>
{/if}
@@ -72,8 +72,8 @@ jQuery(document).ready(function(){
</fieldset>
<p>
- <input class="submit" type="submit" value="{'Submit'|@translate}" name="param_submit">
- <input class="submit" type="reset" value="{'Reset'|@translate}" name="param_reset">
+ <input type="submit" value="{'Submit'|@translate}" name="param_submit">
+ <input type="reset" value="{'Reset'|@translate}" name="param_reset">
</p>
{/if}{* isset $param*}
@@ -128,7 +128,7 @@ jQuery(document).ready(function(){
</fieldset>
<p>
- <input class="submit" type="submit" value="{'Send'|@translate}" name="send_submit">
+ <input type="submit" value="{'Send'|@translate}" name="send_submit">
</p>
{/if}
{/if}{* isset $send*}