mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Create profile xml structure
This commit is contained in:
parent
a41f301fe2
commit
9b0d0e699a
@ -19,7 +19,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div data-role="popup" id="popupAddTrigger" class="popup" style="min-width: 300px;">
|
||||
<form id="addTriggerForm">
|
||||
<form class="addTriggerForm">
|
||||
<div class="ui-bar-b" style="text-align: center; padding: 0 20px;">
|
||||
<h3>Add Task Trigger</h3>
|
||||
</div>
|
||||
@ -85,6 +85,9 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$('.addTriggerForm').off('submit', ScheduledTaskPage.onSubmit).on('submit', ScheduledTaskPage.onSubmit);
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -140,13 +140,13 @@
|
||||
$('#addTriggerForm', page).off("submit");
|
||||
$(this).off("popupafterclose");
|
||||
});
|
||||
},
|
||||
|
||||
$('#addTriggerForm', page).on('submit', function () {
|
||||
onSubmit: function() {
|
||||
|
||||
ScheduledTaskPage.addTrigger();
|
||||
|
||||
return false;
|
||||
});
|
||||
},
|
||||
|
||||
addTrigger: function () {
|
||||
|
Loading…
Reference in New Issue
Block a user