how can I prevent edit in the view using jsinclude?
even if i delete editable-field class, it is created again.
in addition, i deleted editable-field class -> click to open edit issue.
i'm sorry for not explaining well.
help me plz..
I solved it using this.
var block_edit = setInterval(function() {
remove('#customfield_10301-val');
},500);
function remove(field) {
$(field).removeClass('inactive');
$(field).removeClass('editable-field');
$(field).find('span.aui-iconfont-edit').remove();
}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.