Skip to content

Commit

Permalink
disable tags loading in js temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
hinanaya committed Jun 25, 2024
1 parent 89b5a16 commit ed76601
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/media/addedit.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,10 @@ OB.Media.editPage = function(ids)
// set values for custom metadata fields
$.each(OB.Settings.media_metadata, function(index, metadata)
{
if(metadata.type=='tags') $form.find('.metadata_'+metadata.name+'_field').val( media['metadata_'+metadata.name].split(',') );
if(metadata.type=='tags') {
// TODO: Tags not currently working.
// $form.find('.metadata_'+metadata.name+'_field').val( media['metadata_'+metadata.name].split(',') );
}
else $form.find('.metadata_'+metadata.name+'_field').val( media['metadata_'+metadata.name] );
});

Expand Down

0 comments on commit ed76601

Please sign in to comment.