mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
MediaManager Fixes.
This commit is contained in:
@@ -48,7 +48,11 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
|
||||
if($this.attr('data-modal-submit'))
|
||||
{
|
||||
var buttonCaption = $('#e-modal-iframe').contents().find('#etrigger-submit').text(); // copy submit button caption from iframe form.
|
||||
$('#e-modal-submit').text(buttonCaption).fadeIn(); // display the button in the modal footer.
|
||||
|
||||
if(buttonCaption)
|
||||
{
|
||||
$('#e-modal-submit').text(buttonCaption).fadeIn(); // display the button in the modal footer.
|
||||
}
|
||||
$('#e-modal-iframe').contents().find('.buttons-bar').hide(); // hide buttons in the iframe's form.
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user