update jquery attr into prop method for checked and disabled properties

This commit is contained in:
Florian BLOUET
2015-11-25 16:40:45 +01:00
parent 454f9d4db0
commit 5d2735cd0a
18 changed files with 78 additions and 73 deletions

View File

@@ -161,7 +161,7 @@ define([
fieldBlock.is(":hidden") ? fieldBlock.show() : fieldBlock.hide();
addBtn.attr('disabled', !fieldBlock.is(":hidden"));
addBtn.prop('disabled', !fieldBlock.is(":hidden"));
AdminFieldApp.resizeListBlock();