mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 10:34:34 +00:00
update jquery attr into prop method for checked and disabled properties
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user