compatibility with jquery 1.9.1

git-svn-id: http://piwigo.org/svn/trunk@22579 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2013-05-10 04:47:31 +00:00
parent 896805f267
commit 3e083a5597
2 changed files with 9 additions and 9 deletions

View file

@ -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">

View file

@ -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*}