modularize scripts

This commit is contained in:
Luke Pulverenti 2015-06-08 00:47:19 -04:00
parent 1dd2833ed7
commit bbfda77868
15 changed files with 95 additions and 133 deletions

View file

@ -4,7 +4,7 @@
<title>${TitleNotifications}</title>
</head>
<body>
<div id="notificationSettingPage" data-role="page" class="page type-interior notificationConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Notifications">
<div id="notificationSettingPage" data-role="page" class="page type-interior notificationConfigurationPage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Notifications" data-require="scripts/notificationsetting">
<div data-role="content">
<div class="content-primary">
@ -85,10 +85,6 @@
</div>
</div>
<script type="text/javascript">
$('.notificationSettingForm').off('submit', NotificationSettingPage.onSubmit).on('submit', NotificationSettingPage.onSubmit);
</script>
</div>
</body>
</html>