mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove trigger create when not needed
This commit is contained in:
parent
76c2164aeb
commit
df4f347fb4
9 changed files with 28 additions and 43 deletions
|
@ -16,7 +16,7 @@
|
|||
html += '<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>' + Globalize.translate('ButtonSave') + '</span></paper-button>';
|
||||
html += '</button>';
|
||||
|
||||
$('.syncJobForm', page).html(html).trigger('create');
|
||||
$('.syncJobForm', page).html(html);
|
||||
SyncManager.renderForm({
|
||||
elem: $('.formFields', page),
|
||||
dialogOptions: dialogOptions,
|
||||
|
@ -125,7 +125,7 @@
|
|||
|
||||
html += '</div>';
|
||||
|
||||
var elem = $('.jobItems', page).html(html).trigger('create').lazyChildren();
|
||||
var elem = $('.jobItems', page).html(html).lazyChildren();
|
||||
|
||||
$('.btnJobItemMenu', elem).on('click', function () {
|
||||
showJobItemMenu(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue