Added the php field properties to a textarea outside of the subform for easier editing

This commit is contained in:
2018-04-15 00:52:48 +02:00
parent 81e5038bb2
commit 4e7d4af1d3
9 changed files with 148 additions and 22 deletions

View File

@ -601,6 +601,13 @@ function getFieldOptions(fieldtype){
// append to note_filter_information class
jQuery('.note_filter_information').closest('.control-group').prepend(result.extra);
// append to note_filter_information class
if(result.textarea){
jQuery.each( result.textarea, function( i, tField ) {
// append to note_filter_information class
jQuery('.note_filter_information').closest('.control-group').prepend(tField);
});
}
// append to note_filter_information class
jQuery('.note_filter_information').closest('.control-group').prepend(result.subform);
// add the watcher
rowWatcher();