diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index d49530aaeb..ecbb8b596f 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -465,6 +465,32 @@ input:not(.paper-input):not(.likePaperText):not([type='checkbox']):not([type='ra border-radius: 4px; } +select { + width: 100%; + margin: 0 0 .5em 0; + background: none; + border: 1px solid rgb(221, 221, 221); + border-radius: 3px; + /* Prefixed box-sizing rules necessary for older browsers */ + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + /* Remove select styling */ + /* Font size must the 16px or larger to prevent iOS page zoom on focus */ + font-size: inherit; + /* General select styles: change as needed */ + font-family: inherit; + font-weight: bold; + color: inherit; + padding: .6em 1.9em .5em .8em; + line-height: 1.3; + text-align: center; +} + +.ui-page-theme-b select { + border-color: #444; +} + .smoothScrollX { overflow-x: scroll; -webkit-overflow-scrolling: touch; diff --git a/dashboard-ui/scripts/addpluginpage.js b/dashboard-ui/scripts/addpluginpage.js index 5a74f6e82d..cbbb017635 100644 --- a/dashboard-ui/scripts/addpluginpage.js +++ b/dashboard-ui/scripts/addpluginpage.js @@ -49,12 +49,10 @@ })[0]; } - selectmenu.selectmenu('refresh'); - if (packageVersion) { var val = packageVersion.versionStr + '|' + packageVersion.classification; - selectmenu.val(val).selectmenu('refresh'); + selectmenu.val(val); } } diff --git a/dashboard-ui/scripts/advancedconfigurationpage.js b/dashboard-ui/scripts/advancedconfigurationpage.js index 8c958e3a46..61376381bc 100644 --- a/dashboard-ui/scripts/advancedconfigurationpage.js +++ b/dashboard-ui/scripts/advancedconfigurationpage.js @@ -31,7 +31,7 @@ $('#fldEnableAutomaticRestart', page).hide(); } - $('#selectAutomaticUpdateLevel', page).val(config.SystemUpdateLevel).selectmenu('refresh').trigger('change'); + $('#selectAutomaticUpdateLevel', page).val(config.SystemUpdateLevel).trigger('change'); $('#chkDebugLog', page).checked(config.EnableDebugLevelLogging).checkboxradio("refresh"); $('#chkRunAtStartup', page).checked(config.RunAtStartup).checkboxradio("refresh"); diff --git a/dashboard-ui/scripts/autoorganizelog.js b/dashboard-ui/scripts/autoorganizelog.js index a9a6f5d8a1..a52a4a37a0 100644 --- a/dashboard-ui/scripts/autoorganizelog.js +++ b/dashboard-ui/scripts/autoorganizelog.js @@ -88,7 +88,7 @@ seriesHtml = '' + seriesHtml; - $('#selectSeries', popup).html(seriesHtml).selectmenu('refresh'); + $('#selectSeries', popup).html(seriesHtml); } function organizeFile(page, id) { diff --git a/dashboard-ui/scripts/autoorganizetv.js b/dashboard-ui/scripts/autoorganizetv.js index 40f5719650..2f4941081a 100644 --- a/dashboard-ui/scripts/autoorganizetv.js +++ b/dashboard-ui/scripts/autoorganizetv.js @@ -74,7 +74,7 @@ $('#txtDeleteLeftOverFiles', page).val(tvOptions.LeftOverFileExtensionsToDelete.join(';')); - $('#copyOrMoveFile', page).val(tvOptions.CopyOriginalFile.toString()).selectmenu('refresh'); + $('#copyOrMoveFile', page).val(tvOptions.CopyOriginalFile.toString()); } diff --git a/dashboard-ui/scripts/channelitems.js b/dashboard-ui/scripts/channelitems.js index e9e75f7093..d27e618e58 100644 --- a/dashboard-ui/scripts/channelitems.js +++ b/dashboard-ui/scripts/channelitems.js @@ -198,7 +198,7 @@ }).checkboxradio('refresh'); $('.alphabetPicker', page).alphaValue(query.NameStartsWith); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } $(document).on('pageinit', "#channelItemsPage", function () { diff --git a/dashboard-ui/scripts/channelsettings.js b/dashboard-ui/scripts/channelsettings.js index d9ad16f5e6..f0ccc7ec36 100644 --- a/dashboard-ui/scripts/channelsettings.js +++ b/dashboard-ui/scripts/channelsettings.js @@ -2,7 +2,7 @@ function loadPage(page, config) { - $('#selectChannelResolution', page).val(config.PreferredStreamingWidth || '').selectmenu("refresh"); + $('#selectChannelResolution', page).val(config.PreferredStreamingWidth || ''); Dashboard.hideLoadingMsg(); } diff --git a/dashboard-ui/scripts/collectioneditor.js b/dashboard-ui/scripts/collectioneditor.js index 59288e24a3..28d8961392 100644 --- a/dashboard-ui/scripts/collectioneditor.js +++ b/dashboard-ui/scripts/collectioneditor.js @@ -81,7 +81,7 @@ populateCollections(panel); } else { $('.fldSelectCollection', panel).hide(); - $('#selectCollectionToAddTo', panel).html('').val('').selectmenu('refresh').trigger('change'); + $('#selectCollectionToAddTo', panel).html('').val('').trigger('change'); } } @@ -109,7 +109,7 @@ return ''; }); - select.html(html).val('').selectmenu('refresh').trigger('change'); + select.html(html).val('').trigger('change'); }); } diff --git a/dashboard-ui/scripts/dashboardgeneral.js b/dashboard-ui/scripts/dashboardgeneral.js index 0804398225..e1729da915 100644 --- a/dashboard-ui/scripts/dashboardgeneral.js +++ b/dashboard-ui/scripts/dashboardgeneral.js @@ -20,7 +20,7 @@ return ''; - })).val(config.UICulture).selectmenu('refresh'); + })).val(config.UICulture); currentLanguage = config.UICulture; diff --git a/dashboard-ui/scripts/dlnaprofile.js b/dashboard-ui/scripts/dlnaprofile.js index 4b14638fc8..0fc2ca24ef 100644 --- a/dashboard-ui/scripts/dlnaprofile.js +++ b/dashboard-ui/scripts/dlnaprofile.js @@ -100,7 +100,7 @@ var usersHtml = '' + users.map(function (u) { return ''; }).join(''); - $('#selectUser', page).html(usersHtml).val(profile.UserId || '').selectmenu("refresh"); + $('#selectUser', page).html(usersHtml).val(profile.UserId || ''); renderSubProfiles(page, profile); } @@ -152,7 +152,7 @@ $('#txtIdentificationHeaderName', popup).val(header.Name || ''); $('#txtIdentificationHeaderValue', popup).val(header.Value || ''); - $('#selectMatchType', popup).val(header.Match || 'Equals').selectmenu('refresh'); + $('#selectMatchType', popup).val(header.Match || 'Equals'); popup.popup('open'); } @@ -294,8 +294,8 @@ var popup = $('#subtitleProfilePopup', page); $('#txtSubtitleProfileFormat', popup).val(profile.Format || ''); - $('#selectSubtitleProfileMethod', popup).val(profile.Method || '').selectmenu('refresh'); - $('#selectSubtitleProfileDidlMode', popup).val(profile.DidlMode || '').selectmenu('refresh'); + $('#selectSubtitleProfileMethod', popup).val(profile.Method || ''); + $('#selectSubtitleProfileDidlMode', popup).val(profile.DidlMode || ''); popup.popup('open'); } @@ -419,7 +419,7 @@ var popup = $('#popupEditDirectPlayProfile', page); - $('#selectDirectPlayProfileType', popup).val(directPlayProfile.Type || 'Video').selectmenu('refresh').trigger('change'); + $('#selectDirectPlayProfileType', popup).val(directPlayProfile.Type || 'Video').trigger('change'); $('#txtDirectPlayContainer', popup).val(directPlayProfile.Container || ''); $('#txtDirectPlayAudioCodec', popup).val(directPlayProfile.AudioCodec || ''); $('#txtDirectPlayVideoCodec', popup).val(directPlayProfile.VideoCodec || ''); @@ -491,11 +491,11 @@ var popup = $('#transcodingProfilePopup', page); - $('#selectTranscodingProfileType', popup).val(transcodingProfile.Type || 'Video').selectmenu('refresh').trigger('change'); + $('#selectTranscodingProfileType', popup).val(transcodingProfile.Type || 'Video').trigger('change'); $('#txtTranscodingContainer', popup).val(transcodingProfile.Container || ''); $('#txtTranscodingAudioCodec', popup).val(transcodingProfile.AudioCodec || ''); $('#txtTranscodingVideoCodec', popup).val(transcodingProfile.VideoCodec || ''); - $('#selectTranscodingProtocol', popup).val(transcodingProfile.Protocol || 'Http').selectmenu('refresh'); + $('#selectTranscodingProtocol', popup).val(transcodingProfile.Protocol || 'Http'); $('#chkEnableMpegtsM2TsMode', popup).checked(transcodingProfile.EnableMpegtsM2TsMode || false).checkboxradio('refresh'); $('#chkEstimateContentLength', popup).checked(transcodingProfile.EstimateContentLength || false).checkboxradio('refresh'); @@ -614,7 +614,7 @@ var popup = $('#containerProfilePopup', page); - $('#selectContainerProfileType', popup).val(containerProfile.Type || 'Video').selectmenu('refresh').trigger('change'); + $('#selectContainerProfileType', popup).val(containerProfile.Type || 'Video').trigger('change'); $('#txtContainerProfileContainer', popup).val(containerProfile.Container || ''); $('.radioTabButton:first', popup).checked(true).checkboxradio('refresh').trigger('change'); @@ -716,7 +716,7 @@ var popup = $('#codecProfilePopup', page); - $('#selectCodecProfileType', popup).val(codecProfile.Type || 'Video').selectmenu('refresh').trigger('change'); + $('#selectCodecProfileType', popup).val(codecProfile.Type || 'Video').trigger('change'); $('#txtCodecProfileCodec', popup).val(codecProfile.Codec || ''); $('.radioTabButton:first', popup).checked(true).checkboxradio('refresh').trigger('change'); @@ -822,7 +822,7 @@ var popup = $('#responseProfilePopup', page); - $('#selectResponseProfileType', popup).val(responseProfile.Type || 'Video').selectmenu('refresh').trigger('change'); + $('#selectResponseProfileType', popup).val(responseProfile.Type || 'Video').trigger('change'); $('#txtResponseProfileContainer', popup).val(responseProfile.Container || ''); $('#txtResponseProfileAudioCodec', popup).val(responseProfile.AudioCodec || ''); $('#txtResponseProfileVideoCodec', popup).val(responseProfile.VideoCodec || ''); diff --git a/dashboard-ui/scripts/dlnaserversettings.js b/dashboard-ui/scripts/dlnaserversettings.js index 0659170ebf..d307e3e400 100644 --- a/dashboard-ui/scripts/dlnaserversettings.js +++ b/dashboard-ui/scripts/dlnaserversettings.js @@ -12,7 +12,7 @@ return ''; }).join(''); - $('#selectUser', page).html(usersHtml).val(config.DefaultUserId || '').selectmenu("refresh"); + $('#selectUser', page).html(usersHtml).val(config.DefaultUserId || ''); Dashboard.hideLoadingMsg(); } diff --git a/dashboard-ui/scripts/edititemimages.js b/dashboard-ui/scripts/edititemimages.js index 6ec8ea6513..9c095861a3 100644 --- a/dashboard-ui/scripts/edititemimages.js +++ b/dashboard-ui/scripts/edititemimages.js @@ -38,13 +38,13 @@ renderRemoteImages(page, currentItem, result, browsableImageType, options.startIndex, options.limit); - $('#selectBrowsableImageType', page).val(browsableImageType).selectmenu('refresh'); + $('#selectBrowsableImageType', page).val(browsableImageType); var providersHtml = result.Providers.map(function (p) { return ''; }); - $('#selectImageProvider', page).html('' + providersHtml).val(provider).selectmenu('refresh'); + $('#selectImageProvider', page).html('' + providersHtml).val(provider); Dashboard.hideLoadingMsg(); }); diff --git a/dashboard-ui/scripts/edititemmetadata.js b/dashboard-ui/scripts/edititemmetadata.js index f79b8944f2..8a4bfe5c4b 100644 --- a/dashboard-ui/scripts/edititemmetadata.js +++ b/dashboard-ui/scripts/edititemmetadata.js @@ -96,7 +96,7 @@ }).join(''); - $('#selectContentType', page).html(html).val(metadataInfo.ContentType || '').selectmenu('refresh'); + $('#selectContentType', page).html(html).val(metadataInfo.ContentType || ''); } function onExternalIdChange() { @@ -377,9 +377,9 @@ $('#fldDisplayOrder', page).show(); $('#labelDisplayOrder', page).html(Globalize.translate('LabelTitleDisplayOrder')); - $('#selectDisplayOrder', page).html('').selectmenu('refresh'); + $('#selectDisplayOrder', page).html(''); } else { - $('#selectDisplayOrder', page).html('').selectmenu('refresh'); + $('#selectDisplayOrder', page).html(''); $('#fldDisplayOrder', page).hide(); } @@ -401,19 +401,19 @@ populateRatings(parentalRatingOptions, select, item.OfficialRating); - select.val(item.OfficialRating || "").selectmenu('refresh'); + select.val(item.OfficialRating || ""); select = $('#selectCustomRating', page); populateRatings(parentalRatingOptions, select, item.CustomRating); - select.val(item.CustomRating || "").selectmenu('refresh'); + select.val(item.CustomRating || ""); var selectStatus = $('#selectStatus', page); populateStatus(selectStatus); - selectStatus.val(item.Status || "").selectmenu('refresh'); + selectStatus.val(item.Status || ""); - $('#select3dFormat', page).val(item.Video3DFormat || "").selectmenu('refresh'); + $('#select3dFormat', page).val(item.Video3DFormat || ""); $('.chkAirDay', page).each(function () { @@ -481,7 +481,7 @@ }).join(';')); - $('#selectDisplayOrder', page).val(item.DisplayOrder).selectmenu('refresh'); + $('#selectDisplayOrder', page).val(item.DisplayOrder); $('#txtArtist', page).val((item.ArtistItems || []).map(function (a) { @@ -536,8 +536,8 @@ $('#txtOriginalAspectRatio', page).val(item.AspectRatio || ""); - $('#selectLanguage', page).val(item.PreferredMetadataLanguage || "").selectmenu('refresh'); - $('#selectCountry', page).val(item.PreferredMetadataCountryCode || "").selectmenu('refresh'); + $('#selectLanguage', page).val(item.PreferredMetadataLanguage || ""); + $('#selectCountry', page).val(item.PreferredMetadataCountryCode || ""); if (item.RunTimeTicks) { @@ -604,7 +604,7 @@ $('#popupEditPerson', page).popup("open"); $('#txtPersonName', page).val(person.Name || ''); - $('#selectPersonType', page).val(person.Type || '').selectmenu('refresh'); + $('#selectPersonType', page).val(person.Type || ''); $('#txtPersonRole', page).val(person.Role || ''); if (index == null) { @@ -678,7 +678,7 @@ html += ""; } - select.html(html).selectmenu("refresh"); + select.html(html); } function populateStatus(select) { @@ -687,7 +687,7 @@ html += ""; html += ""; html += ""; - select.html(html).selectmenu("refresh"); + select.html(html); } function populateListView(list, items, sortCallback) { @@ -1283,8 +1283,8 @@ $('.popupAdvancedRefresh', page).popup('open'); - $('#selectMetadataRefreshMode', page).val('all').selectmenu('refresh'); - $('#selectImageRefreshMode', page).val('missing').selectmenu('refresh'); + $('#selectMetadataRefreshMode', page).val('all'); + $('#selectImageRefreshMode', page).val('missing'); } function performSimpleRefresh(page) { diff --git a/dashboard-ui/scripts/edititemsubtitles.js b/dashboard-ui/scripts/edititemsubtitles.js index 1b2d9304d7..2bd1450150 100644 --- a/dashboard-ui/scripts/edititemsubtitles.js +++ b/dashboard-ui/scripts/edititemsubtitles.js @@ -167,14 +167,14 @@ return ''; - })).selectmenu('refresh'); + })); Dashboard.getCurrentUser().done(function (user) { var lang = user.Configuration.SubtitleLanguagePreference; if (lang) { - $('#selectLanguage', page).val(lang).selectmenu('refresh'); + $('#selectLanguage', page).val(lang); } }); } diff --git a/dashboard-ui/scripts/encodingsettings.js b/dashboard-ui/scripts/encodingsettings.js index 91040c3bf8..83b54ea536 100644 --- a/dashboard-ui/scripts/encodingsettings.js +++ b/dashboard-ui/scripts/encodingsettings.js @@ -11,7 +11,7 @@ }).checkboxradio('refresh'); - $('#selectThreadCount', page).val(config.EncodingThreadCount).selectmenu('refresh'); + $('#selectThreadCount', page).val(config.EncodingThreadCount); $('#txtDownMixAudioBoost', page).val(config.DownMixAudioBoost); $('#txtTranscodingTempPath', page).val(config.TranscodingTempPath || ''); diff --git a/dashboard-ui/scripts/episodes.js b/dashboard-ui/scripts/episodes.js index cfad3ecdb2..b6a9bef520 100644 --- a/dashboard-ui/scripts/episodes.js +++ b/dashboard-ui/scripts/episodes.js @@ -135,7 +135,7 @@ }).checkboxradio('refresh'); - $('#selectView', page).val(view).selectmenu('refresh'); + $('#selectView', page).val(view); $('#chkHD', page).checked(query.IsHD == true).checkboxradio('refresh'); $('#chkSD', page).checked(query.IsHD == false).checkboxradio('refresh'); @@ -150,7 +150,7 @@ $('#chkFutureEpisode', page).checked(query.IsUnaired == true).checkboxradio('refresh'); $('.alphabetPicker', page).alphaValue(query.NameStartsWithOrGreater); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } $(document).on('pageinit', "#episodesPage", function () { @@ -353,7 +353,7 @@ LibraryBrowser.getSavedViewSetting(viewkey).done(function (val) { if (val) { - Events.trigger($('#selectView', page).val(val).selectmenu('refresh')[0], 'change'); + Events.trigger($('#selectView', page).val(val)[0], 'change'); } else { reloadItems(page); } diff --git a/dashboard-ui/scripts/gamegenrepage.js b/dashboard-ui/scripts/gamegenrepage.js index bad2f62b20..1118885ac6 100644 --- a/dashboard-ui/scripts/gamegenrepage.js +++ b/dashboard-ui/scripts/gamegenrepage.js @@ -68,7 +68,7 @@ function updateFilterControls(page) { - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } $(document).on('pageinit', "#gameGenresPage", function () { diff --git a/dashboard-ui/scripts/gamespage.js b/dashboard-ui/scripts/gamespage.js index 4ca5596ef4..edd29a907e 100644 --- a/dashboard-ui/scripts/gamespage.js +++ b/dashboard-ui/scripts/gamespage.js @@ -134,10 +134,10 @@ }).checkboxradio('refresh'); - $('#selectView', page).val(view).selectmenu('refresh'); + $('#selectView', page).val(view); $('.alphabetPicker', page).alphaValue(query.NameStartsWith); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } var filtersLoaded; @@ -262,7 +262,7 @@ LibraryBrowser.getSavedViewSetting(viewkey).done(function (val) { if (val) { - $('#selectView', page).val(val).selectmenu('refresh').trigger('change'); + $('#selectView', page).val(val).trigger('change'); } else { reloadItems(page); } diff --git a/dashboard-ui/scripts/gamestudiospage.js b/dashboard-ui/scripts/gamestudiospage.js index 104b82677e..4f068a3c86 100644 --- a/dashboard-ui/scripts/gamestudiospage.js +++ b/dashboard-ui/scripts/gamestudiospage.js @@ -70,7 +70,7 @@ function updateFilterControls(page) { - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } $(document).on('pageinit', "#gameStudiosPage", function () { diff --git a/dashboard-ui/scripts/itemlistpage.js b/dashboard-ui/scripts/itemlistpage.js index 5b1940dac5..682e63e495 100644 --- a/dashboard-ui/scripts/itemlistpage.js +++ b/dashboard-ui/scripts/itemlistpage.js @@ -168,10 +168,10 @@ }).checkboxradio('refresh'); - $('#selectView', page).val(view).selectmenu('refresh'); + $('#selectView', page).val(view); $('.alphabetPicker', page).alphaValue(query.NameStartsWithOrGreater); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } function onListItemClick(e) { @@ -266,7 +266,7 @@ LibraryBrowser.getSavedViewSetting(getSavedQueryKey()).done(function (val) { if (val) { - $('#selectView', page).val(val).selectmenu('refresh').trigger('change'); + $('#selectView', page).val(val).trigger('change'); } else { reloadItems(page); } diff --git a/dashboard-ui/scripts/librarylist.js b/dashboard-ui/scripts/librarylist.js index b2198d8534..44bd5f19f2 100644 --- a/dashboard-ui/scripts/librarylist.js +++ b/dashboard-ui/scripts/librarylist.js @@ -1231,7 +1231,7 @@ return ''; - }).join('')).selectmenu('refresh'); + }).join('')); $(page).on('click', '.btnToggleSelections', function () { diff --git a/dashboard-ui/scripts/librarysettings.js b/dashboard-ui/scripts/librarysettings.js index d3e6d00393..f323a37366 100644 --- a/dashboard-ui/scripts/librarysettings.js +++ b/dashboard-ui/scripts/librarysettings.js @@ -10,7 +10,7 @@ $('#txtSeasonZeroName', page).val(config.SeasonZeroDisplayName); - $('#selectEnableRealtimeMonitor', page).val(config.EnableLibraryMonitor).selectmenu("refresh"); + $('#selectEnableRealtimeMonitor', page).val(config.EnableLibraryMonitor); $('#txtItemsByNamePath', page).val(config.ItemsByNamePath || ''); diff --git a/dashboard-ui/scripts/livetvchannels.js b/dashboard-ui/scripts/livetvchannels.js index e035074490..0bda3b4828 100644 --- a/dashboard-ui/scripts/livetvchannels.js +++ b/dashboard-ui/scripts/livetvchannels.js @@ -67,7 +67,7 @@ $('#chkFavorite', page).checked(query.IsFavorite == true).checkboxradio('refresh'); $('#chkLikes', page).checked(query.IsLiked == true).checkboxradio('refresh'); $('#chkDislikes', page).checked(query.IsDisliked == true).checkboxradio('refresh'); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } window.LiveTvPage.initChannelsTab = function (page, tabContent) { diff --git a/dashboard-ui/scripts/livetvitems.js b/dashboard-ui/scripts/livetvitems.js index bb0bf7fea5..346e14c0bb 100644 --- a/dashboard-ui/scripts/livetvitems.js +++ b/dashboard-ui/scripts/livetvitems.js @@ -20,9 +20,9 @@ function updateFilterControls(page) { - $('#selectView', page).val(view).selectmenu('refresh'); + $('#selectView', page).val(view); $('.alphabetPicker', page).alphaValue(query.NameStartsWithOrGreater); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } function reloadItems(page) { @@ -166,7 +166,7 @@ LibraryBrowser.getSavedViewSetting(viewkey).done(function (val) { if (val) { - $('#selectView', page).val(val).selectmenu('refresh').trigger('change'); + $('#selectView', page).val(val).trigger('change'); } else { reloadItems(page); } diff --git a/dashboard-ui/scripts/livetvsettings.js b/dashboard-ui/scripts/livetvsettings.js index a7fd8ea64f..f32c46289d 100644 --- a/dashboard-ui/scripts/livetvsettings.js +++ b/dashboard-ui/scripts/livetvsettings.js @@ -5,7 +5,7 @@ $('.liveTvSettingsForm', page).show(); $('.noLiveTvServices', page).hide(); - $('#selectGuideDays', page).val(config.GuideDays || '').selectmenu('refresh'); + $('#selectGuideDays', page).val(config.GuideDays || ''); $('#chkMovies', page).checked(config.EnableMovieProviders); $('#chkOrganize', page).checked(config.EnableAutoOrganize); diff --git a/dashboard-ui/scripts/medialibrarypage.js b/dashboard-ui/scripts/medialibrarypage.js index 7ca00563b7..f8a02b02e9 100644 --- a/dashboard-ui/scripts/medialibrarypage.js +++ b/dashboard-ui/scripts/medialibrarypage.js @@ -189,13 +189,13 @@ if (showCollectionType) { $('#fldCollectionType', popup).show(); - $('#selectCollectionType', popup).attr('required', 'required').selectmenu('refresh'); + $('#selectCollectionType', popup).attr('required', 'required'); } else { $('#fldCollectionType', popup).hide(); - $('#selectCollectionType', popup).removeAttr('required').selectmenu('refresh'); + $('#selectCollectionType', popup).removeAttr('required'); } - $('#selectCollectionType', popup).html(MediaLibraryPage.getCollectionTypeOptionsHtml()).val('').selectmenu('refresh'); + $('#selectCollectionType', popup).html(MediaLibraryPage.getCollectionTypeOptionsHtml()).val(''); popup.on("popupafterclose", function () { $(this).off("popupafterclose").off("click"); diff --git a/dashboard-ui/scripts/metadataadvanced.js b/dashboard-ui/scripts/metadataadvanced.js index b5196e21dc..2f2ea98e71 100644 --- a/dashboard-ui/scripts/metadataadvanced.js +++ b/dashboard-ui/scripts/metadataadvanced.js @@ -22,7 +22,7 @@ function loadMetadataConfig(page, config) { - $('#selectDateAdded', page).val((config.UseFileCreationTimeForDateAdded ? '1' : '0')).selectmenu("refresh"); + $('#selectDateAdded', page).val((config.UseFileCreationTimeForDateAdded ? '1' : '0')); } function loadTmdbConfig(page, config) { diff --git a/dashboard-ui/scripts/metadataconfigurationpage.js b/dashboard-ui/scripts/metadataconfigurationpage.js index e416dcfcff..eb9ecc9fc7 100644 --- a/dashboard-ui/scripts/metadataconfigurationpage.js +++ b/dashboard-ui/scripts/metadataconfigurationpage.js @@ -7,10 +7,10 @@ $('#chkEnableInternetProviders', page).checked(config.EnableInternetProviders).checkboxradio("refresh"); $('#chkSaveLocal', page).checked(config.SaveLocalMeta).checkboxradio("refresh"); - $('#selectLanguage', page).val(config.PreferredMetadataLanguage).selectmenu("refresh"); - $('#selectCountry', page).val(config.MetadataCountryCode).selectmenu("refresh"); + $('#selectLanguage', page).val(config.PreferredMetadataLanguage); + $('#selectCountry', page).val(config.MetadataCountryCode); - $('#selectImageSavingConvention', page).val(config.ImageSavingConvention).selectmenu("refresh"); + $('#selectImageSavingConvention', page).val(config.ImageSavingConvention); Dashboard.hideLoadingMsg(); } diff --git a/dashboard-ui/scripts/metadataimagespage.js b/dashboard-ui/scripts/metadataimagespage.js index f209e5a0ef..d7a1a45722 100644 --- a/dashboard-ui/scripts/metadataimagespage.js +++ b/dashboard-ui/scripts/metadataimagespage.js @@ -15,7 +15,7 @@ html += ''; } - $('#selectItemType', page).html(html).selectmenu('refresh').trigger('change'); + $('#selectItemType', page).html(html).trigger('change'); Dashboard.hideLoadingMsg(); } diff --git a/dashboard-ui/scripts/metadatanfo.js b/dashboard-ui/scripts/metadatanfo.js index 57ff3539db..758c8d9a84 100644 --- a/dashboard-ui/scripts/metadatanfo.js +++ b/dashboard-ui/scripts/metadatanfo.js @@ -10,8 +10,8 @@ return ''; }).join(''); - $('#selectUser', page).html(html).val(config.UserId || '').selectmenu('refresh'); - $('#selectReleaseDateFormat', page).val(config.ReleaseDateFormat).selectmenu('refresh'); + $('#selectUser', page).html(html).val(config.UserId || ''); + $('#selectReleaseDateFormat', page).val(config.ReleaseDateFormat); $('#chkSaveImagePaths', page).checked(config.SaveImagePathsInNfo).checkboxradio('refresh'); $('#chkEnablePathSubstitution', page).checked(config.EnablePathSubstitution).checkboxradio('refresh'); $('#chkEnableExtraThumbs', page).checked(config.EnableExtraThumbsDuplication).checkboxradio('refresh'); diff --git a/dashboard-ui/scripts/musicalbumartists.js b/dashboard-ui/scripts/musicalbumartists.js index 3e00c63f6f..e60888d441 100644 --- a/dashboard-ui/scripts/musicalbumartists.js +++ b/dashboard-ui/scripts/musicalbumartists.js @@ -135,10 +135,10 @@ }).checkboxradio('refresh'); - $('#selectView', page).val(view).selectmenu('refresh'); + $('#selectView', page).val(view); $('.alphabetPicker', page).alphaValue(query.NameStartsWithOrGreater); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } var filtersLoaded; @@ -231,7 +231,7 @@ LibraryBrowser.getSavedViewSetting(getSavedQueryKey()).done(function (val) { if (val) { - $('#selectView', page).val(val).selectmenu('refresh').trigger('change'); + $('#selectView', page).val(val).trigger('change'); } else { reloadItems(page); } diff --git a/dashboard-ui/scripts/musicalbums.js b/dashboard-ui/scripts/musicalbums.js index 3039062317..7ace2feef6 100644 --- a/dashboard-ui/scripts/musicalbums.js +++ b/dashboard-ui/scripts/musicalbums.js @@ -135,7 +135,7 @@ var query = getQuery(); - $('#selectView', page).val(view).selectmenu('refresh'); + $('#selectView', page).val(view); // Reset form values using the last used query $('.radioSortBy', page).each(function () { @@ -151,7 +151,7 @@ }).checkboxradio('refresh'); $('.alphabetPicker', page).alphaValue(query.NameStartsWith); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } var filtersLoaded; @@ -289,7 +289,7 @@ LibraryBrowser.getSavedViewSetting(getSavedQueryKey()).done(function (val) { if (val) { - $('#selectView', page).val(val).selectmenu('refresh').trigger('change'); + $('#selectView', page).val(val).trigger('change'); } else { reloadItems(page); } diff --git a/dashboard-ui/scripts/musicartists.js b/dashboard-ui/scripts/musicartists.js index 6721ba2030..1531332749 100644 --- a/dashboard-ui/scripts/musicartists.js +++ b/dashboard-ui/scripts/musicartists.js @@ -134,10 +134,10 @@ }).checkboxradio('refresh'); - $('#selectView', page).val(view).selectmenu('refresh'); + $('#selectView', page).val(view); $('.alphabetPicker', page).alphaValue(query.NameStartsWithOrGreater); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } var filtersLoaded; @@ -226,7 +226,7 @@ LibraryBrowser.getSavedViewSetting(getSavedQueryKey()).done(function (val) { if (val) { - $('#selectView', page).val(val).selectmenu('refresh').trigger('change'); + $('#selectView', page).val(val).trigger('change'); } else { reloadItems(page); } diff --git a/dashboard-ui/scripts/mypreferencesdisplay.js b/dashboard-ui/scripts/mypreferencesdisplay.js index fb2b02377f..55c7ad7680 100644 --- a/dashboard-ui/scripts/mypreferencesdisplay.js +++ b/dashboard-ui/scripts/mypreferencesdisplay.js @@ -6,10 +6,10 @@ page.querySelector('.chkDisplayUnairedEpisodes').checked = user.Configuration.DisplayUnairedEpisodes || false; page.querySelector('.chkGroupMoviesIntoCollections').checked = user.Configuration.GroupMoviesIntoBoxSets || false; - $('#selectThemeSong', page).val(appStorage.getItem('enableThemeSongs-' + user.Id) || '').selectmenu("refresh"); - $('#selectBackdrop', page).val(appStorage.getItem('enableBackdrops-' + user.Id) || '').selectmenu("refresh"); + $('#selectThemeSong', page).val(appStorage.getItem('enableThemeSongs-' + user.Id) || ''); + $('#selectBackdrop', page).val(appStorage.getItem('enableBackdrops-' + user.Id) || ''); - $('#selectLanguage', page).val(AppSettings.displayLanguage()).selectmenu("refresh"); + $('#selectLanguage', page).val(AppSettings.displayLanguage()); page.querySelector('.chkEnableFullScreen').checked = AppSettings.enableFullScreen(); diff --git a/dashboard-ui/scripts/mypreferenceshome.js b/dashboard-ui/scripts/mypreferenceshome.js index 3c8477eae4..a02f81b402 100644 --- a/dashboard-ui/scripts/mypreferenceshome.js +++ b/dashboard-ui/scripts/mypreferenceshome.js @@ -130,10 +130,10 @@ page.querySelector('.chkHidePlayedFromLatest').checked = user.Configuration.HidePlayedInLatest || false; page.querySelector('.chkDisplayChannelsInline').checked = user.Configuration.DisplayChannelsInline || false; - $('#selectHomeSection1', page).val(displayPreferences.CustomPrefs.home0 || '').selectmenu("refresh"); - $('#selectHomeSection2', page).val(displayPreferences.CustomPrefs.home1 || '').selectmenu("refresh"); - $('#selectHomeSection3', page).val(displayPreferences.CustomPrefs.home2 || '').selectmenu("refresh"); - $('#selectHomeSection4', page).val(displayPreferences.CustomPrefs.home3 || '').selectmenu("refresh"); + $('#selectHomeSection1', page).val(displayPreferences.CustomPrefs.home0 || ''); + $('#selectHomeSection2', page).val(displayPreferences.CustomPrefs.home1 || ''); + $('#selectHomeSection3', page).val(displayPreferences.CustomPrefs.home2 || ''); + $('#selectHomeSection4', page).val(displayPreferences.CustomPrefs.home3 || ''); var promise1 = ApiClient.getItems(user.Id, { sortBy: "SortName" diff --git a/dashboard-ui/scripts/mypreferenceslanguages.js b/dashboard-ui/scripts/mypreferenceslanguages.js index 85ea48877d..749a702cc9 100644 --- a/dashboard-ui/scripts/mypreferenceslanguages.js +++ b/dashboard-ui/scripts/mypreferenceslanguages.js @@ -13,7 +13,7 @@ html += ""; } - $(select).html(html).selectmenu("refresh"); + $(select).html(html); } function loadForm(page, user, loggedInUser, allCulturesPromise) { @@ -23,11 +23,11 @@ populateLanguages($('#selectAudioLanguage', page), allCultures); populateLanguages($('#selectSubtitleLanguage', page), allCultures); - $('#selectAudioLanguage', page).val(user.Configuration.AudioLanguagePreference || "").selectmenu("refresh"); - $('#selectSubtitleLanguage', page).val(user.Configuration.SubtitleLanguagePreference || "").selectmenu("refresh"); + $('#selectAudioLanguage', page).val(user.Configuration.AudioLanguagePreference || ""); + $('#selectSubtitleLanguage', page).val(user.Configuration.SubtitleLanguagePreference || ""); }); - $('#selectSubtitlePlaybackMode', page).val(user.Configuration.SubtitleMode || "").selectmenu("refresh").trigger('change'); + $('#selectSubtitlePlaybackMode', page).val(user.Configuration.SubtitleMode || "").trigger('change'); page.querySelector('.chkPlayDefaultAudioTrack').checked = user.Configuration.PlayDefaultAudioTrack || false; page.querySelector('.chkEnableCinemaMode').checked = user.Configuration.EnableCinemaMode || false; @@ -39,10 +39,10 @@ return ''; }).join(''); - $('#selectMaxBitrate', page).html(bitrateOptions).val(AppSettings.maxStreamingBitrate()).selectmenu("refresh"); + $('#selectMaxBitrate', page).html(bitrateOptions).val(AppSettings.maxStreamingBitrate()); - $('#selectMaxChromecastBitrate', page).val(AppSettings.maxChromecastBitrate()).selectmenu("refresh"); + $('#selectMaxChromecastBitrate', page).val(AppSettings.maxChromecastBitrate()); Dashboard.hideLoadingMsg(); } diff --git a/dashboard-ui/scripts/notificationsetting.js b/dashboard-ui/scripts/notificationsetting.js index cb6dd4911b..f4e1574b36 100644 --- a/dashboard-ui/scripts/notificationsetting.js +++ b/dashboard-ui/scripts/notificationsetting.js @@ -90,7 +90,7 @@ $('#txtTitle', page).val(notificationConfig.Title || typeInfo.DefaultTitle); - $('#selectUsers', page).val(notificationConfig.SendToUserMode).selectmenu('refresh').trigger('change'); + $('#selectUsers', page).val(notificationConfig.SendToUserMode).trigger('change'); }); } diff --git a/dashboard-ui/scripts/playlistmanager.js b/dashboard-ui/scripts/playlistmanager.js index dea7db8b44..778400a23a 100644 --- a/dashboard-ui/scripts/playlistmanager.js +++ b/dashboard-ui/scripts/playlistmanager.js @@ -101,9 +101,9 @@ }).join(''); - select.html(selectHtml).selectmenu('refresh'); + select.html(selectHtml); - select.val(lastPlaylistId || '').selectmenu('refresh').trigger('change'); + select.val(lastPlaylistId || '').trigger('change'); Dashboard.hideLoadingMsg(); }); @@ -151,7 +151,7 @@ return ''; }); - select.html(html).val('').selectmenu('refresh').trigger('change'); + select.html(html).val('').trigger('change'); }); } diff --git a/dashboard-ui/scripts/reports.js b/dashboard-ui/scripts/reports.js index 8fc2cc6a26..b34c88368f 100644 --- a/dashboard-ui/scripts/reports.js +++ b/dashboard-ui/scripts/reports.js @@ -298,7 +298,7 @@ } } }); - $('#selectPageSize', page).val(selected).selectmenu('refresh'); + $('#selectPageSize', page).val(selected); }); } @@ -504,7 +504,7 @@ $('#chkThemeSong', page).checked(query.HasThemeSong == true).checkboxradio('refresh'); $('#chkThemeVideo', page).checked(query.HasThemeVideo == true).checkboxradio('refresh'); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); //Management $('#chkMissingRating', page).checked(query.HasOfficialRating == false).checkboxradio('refresh'); @@ -519,7 +519,7 @@ $('#chkMissingEpisode', page).checked(query.IsMissing == true).checkboxradio('refresh'); $('#chkFutureEpisode', page).checked(query.IsUnaired == true).checkboxradio('refresh'); - $('#selectIncludeItemTypes').val(query.IncludeItemTypes).selectmenu('refresh'); + $('#selectIncludeItemTypes').val(query.IncludeItemTypes); } var filtersLoaded; @@ -855,7 +855,7 @@ QueryReportFilters.onPageShow(page, query); QueryReportColumns.onPageShow(page, query); - $('#selectIncludeItemTypes', page).val(query.IncludeItemTypes).selectmenu('refresh').trigger('change'); + $('#selectIncludeItemTypes', page).val(query.IncludeItemTypes).trigger('change'); updateFilterControls(page); diff --git a/dashboard-ui/scripts/scheduledtaskpage.js b/dashboard-ui/scripts/scheduledtaskpage.js index 14b6ad9eb4..9f112c9208 100644 --- a/dashboard-ui/scripts/scheduledtaskpage.js +++ b/dashboard-ui/scripts/scheduledtaskpage.js @@ -147,7 +147,7 @@ var page = $.mobile.activePage; - Events.trigger($('#selectTriggerType', page).val('DailyTrigger').selectmenu('refresh')[0], 'change'); + Events.trigger($('#selectTriggerType', page).val('DailyTrigger')[0], 'change'); $('#popupAddTrigger', page).on("popupafteropen", function () { $('#addTriggerForm input:first', this).focus(); diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 845dca3b62..8a9b772a73 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -67,7 +67,7 @@ var Dashboard = { // These are not needed. Nulling them out can help reduce dom querying when pages are loaded $.mobile.nojs = null; $.mobile.degradeInputsWithin = null; - $.mobile.keepNative = ":jqmData(role='none'),.paper-input,textarea.style-scope"; + $.mobile.keepNative = ":jqmData(role='none')"; $.mobile.filterHtml = Dashboard.filterHtml; }, @@ -1470,7 +1470,7 @@ var Dashboard = { html += ""; } - $(select).html(html).selectmenu("refresh"); + $(select).html(html); }, populateCountries: function (select, allCountries) { @@ -1486,7 +1486,7 @@ var Dashboard = { html += ""; } - $(select).html(html).selectmenu("refresh"); + $(select).html(html); }, getSupportedRemoteCommands: function () { diff --git a/dashboard-ui/scripts/supporterkeypage.js b/dashboard-ui/scripts/supporterkeypage.js index 110ded1d56..5519342b8f 100644 --- a/dashboard-ui/scripts/supporterkeypage.js +++ b/dashboard-ui/scripts/supporterkeypage.js @@ -134,7 +134,7 @@ $(document).on('pageshowready', "#supporterKeyPage", SupporterKeyPage.onPageShow return ''; - }).join('')).selectmenu('refresh'); + }).join('')); } function addUser(page, id) { diff --git a/dashboard-ui/scripts/sync.js b/dashboard-ui/scripts/sync.js index ca1f5eec9f..abb0a39e23 100644 --- a/dashboard-ui/scripts/sync.js +++ b/dashboard-ui/scripts/sync.js @@ -351,14 +351,14 @@ var selectedAttribute = o.IsDefault ? ' selected="selected"' : ''; return ''; - }).join('')).trigger('change').selectmenu('refresh'); + }).join('')).trigger('change'); $('#selectQuality', form).html(options.QualityOptions.map(function (o) { var selectedAttribute = o.IsDefault ? ' selected="selected"' : ''; return ''; - }).join('')).trigger('change').selectmenu('refresh'); + }).join('')).trigger('change'); } function isAvailable(item, user) { diff --git a/dashboard-ui/scripts/syncjob.js b/dashboard-ui/scripts/syncjob.js index 1c60d9e9e3..3ec5a80924 100644 --- a/dashboard-ui/scripts/syncjob.js +++ b/dashboard-ui/scripts/syncjob.js @@ -258,8 +258,8 @@ function fillJobValues(page, job, editOptions) { $('#txtSyncJobName', page).val(job.Name); - $('#selectProfile', page).val(job.Profile || '').trigger('change').selectmenu('refresh'); - $('#selectQuality', page).val(job.Quality || '').trigger('change').selectmenu('refresh'); + $('#selectProfile', page).val(job.Profile || '').trigger('change'); + $('#selectQuality', page).val(job.Quality || '').trigger('change'); $('#chkUnwatchedOnly', page).checked(job.UnwatchedOnly).checkboxradio('refresh'); $('#chkSyncNewContent', page).checked(job.SyncNewContent).checkboxradio('refresh'); $('#txtItemLimit', page).val(job.ItemLimit); diff --git a/dashboard-ui/scripts/tvshows.js b/dashboard-ui/scripts/tvshows.js index c75ecf5d4d..5cc6f6848b 100644 --- a/dashboard-ui/scripts/tvshows.js +++ b/dashboard-ui/scripts/tvshows.js @@ -195,7 +195,7 @@ var query = getQuery(); - $('#selectView', page).val(view).selectmenu('refresh'); + $('#selectView', page).val(view); $('#chkTrailer', page).checked(query.HasTrailer == true).checkboxradio('refresh'); $('#chkThemeSong', page).checked(query.HasThemeSong == true).checkboxradio('refresh'); @@ -203,7 +203,7 @@ $('#chkSpecialFeature', page).checked(query.HasSpecialFeature == true).checkboxradio('refresh'); $('.alphabetPicker', page).alphaValue(query.NameStartsWith); - $('#selectPageSize', page).val(query.Limit).selectmenu('refresh'); + $('#selectPageSize', page).val(query.Limit); } var filtersLoaded; @@ -407,7 +407,7 @@ LibraryBrowser.getSavedViewSetting(viewKey).done(function (val) { if (val) { - Events.trigger($('#selectView', page).val(val).selectmenu('refresh')[0], 'change'); + Events.trigger($('#selectView', page).val(val)[0], 'change'); } else { reloadItems(page); } diff --git a/dashboard-ui/scripts/userparentalcontrol.js b/dashboard-ui/scripts/userparentalcontrol.js index ef305d0321..4599d1fa62 100644 --- a/dashboard-ui/scripts/userparentalcontrol.js +++ b/dashboard-ui/scripts/userparentalcontrol.js @@ -35,7 +35,7 @@ html += ""; } - $('#selectMaxParentalRating', page).html(html).selectmenu("refresh"); + $('#selectMaxParentalRating', page).html(html); } function loadUnratedItems(page, user) { @@ -99,7 +99,7 @@ } } - $('#selectMaxParentalRating', page).val(ratingValue).selectmenu("refresh"); + $('#selectMaxParentalRating', page).val(ratingValue); if (user.Policy.IsAdministrator) { $('.accessScheduleSection', page).hide(); @@ -279,8 +279,8 @@ html += ''; - $('#selectStart', page).html(html).selectmenu('refresh'); - $('#selectEnd', page).html(html).selectmenu('refresh'); + $('#selectStart', page).html(html); + $('#selectEnd', page).html(html); } function showSchedulePopup(page, schedule, index) { @@ -291,9 +291,9 @@ $('#fldScheduleIndex', page).val(index); - $('#selectDay', page).val(schedule.DayOfWeek || 'Sunday').selectmenu('refresh'); - $('#selectStart', page).val(schedule.StartHour || 0).selectmenu('refresh'); - $('#selectEnd', page).val(schedule.EndHour || 0).selectmenu('refresh'); + $('#selectDay', page).val(schedule.DayOfWeek || 'Sunday'); + $('#selectStart', page).val(schedule.StartHour || 0); + $('#selectEnd', page).val(schedule.EndHour || 0); } function saveSchedule(page) { diff --git a/dashboard-ui/scripts/wizardlivetvtuner.js b/dashboard-ui/scripts/wizardlivetvtuner.js index 2ddcbb3f19..92ab815107 100644 --- a/dashboard-ui/scripts/wizardlivetvtuner.js +++ b/dashboard-ui/scripts/wizardlivetvtuner.js @@ -43,7 +43,7 @@ apiClient.getJSON(apiClient.getUrl('Startup/Configuration')).done(function (config) { - $('#selectTunerType', page).val(config.LiveTvTunerType || 'hdhomerun').selectmenu("refresh"); + $('#selectTunerType', page).val(config.LiveTvTunerType || 'hdhomerun'); page.querySelector('.txtDevicePath').value = config.LiveTvTunerPath || ''; Dashboard.hideLoadingMsg(); diff --git a/dashboard-ui/scripts/wizardsettings.js b/dashboard-ui/scripts/wizardsettings.js index 3fa128d817..0184259c72 100644 --- a/dashboard-ui/scripts/wizardsettings.js +++ b/dashboard-ui/scripts/wizardsettings.js @@ -34,8 +34,8 @@ Dashboard.populateLanguages($('#selectLanguage', page), cultures); Dashboard.populateCountries($('#selectCountry', page), countries); - $('#selectLanguage', page).val(config.PreferredMetadataLanguage).selectmenu("refresh"); - $('#selectCountry', page).val(config.MetadataCountryCode).selectmenu("refresh"); + $('#selectLanguage', page).val(config.PreferredMetadataLanguage); + $('#selectCountry', page).val(config.MetadataCountryCode); Dashboard.hideLoadingMsg(); } diff --git a/dashboard-ui/scripts/wizardstartpage.js b/dashboard-ui/scripts/wizardstartpage.js index c54aacc074..0a95c97746 100644 --- a/dashboard-ui/scripts/wizardstartpage.js +++ b/dashboard-ui/scripts/wizardstartpage.js @@ -6,7 +6,7 @@ return ''; - })).val(config.UICulture).selectmenu('refresh'); + })).val(config.UICulture); Dashboard.hideLoadingMsg(); } diff --git a/dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.slider.js b/dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.slider.js index 95397efe5e..ef0a315dbd 100644 --- a/dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.slider.js +++ b/dashboard-ui/thirdparty/jquerymobile-1.4.5/jqm.slider.js @@ -131,16 +131,16 @@ "change": "_controlChange", "keyup": "_controlKeyup", "blur": "_controlBlur", - "vmouseup": "_controlVMouseUp" + "mouseup": "_controlVMouseUp" }); - slider.bind("vmousedown", $.proxy(this._sliderVMouseDown, this)) + slider.bind("mousedown", $.proxy(this._sliderVMouseDown, this)) .bind("click", false); // We have to instantiate a new function object for the unbind to work properly // since the method itself is defined in the prototype (causing it to unbind everything) - this._on(document, { "vmousemove": "_preventDocumentDrag" }); - this._on(slider.add(document), { "vmouseup": "_sliderVMouseUp" }); + this._on(document, { "mousemove": "_preventDocumentDrag" }); + this._on(slider.add(document), { "mouseup": "_sliderVMouseUp" }); slider.insertAfter(control); @@ -153,7 +153,7 @@ // bind the handle event callbacks and set the context to the widget instance this._on(this.handle, { - "vmousedown": "_handleVMouseDown", + "mousedown": "_handleVMouseDown", "keydown": "_handleKeydown", "keyup": "_handleKeyup" }); @@ -642,7 +642,7 @@ "reset": "_handleReset" }); this._on(firstHandle, { - "vmousedown": "_dragFirstHandle" + "mousedown": "_dragFirstHandle" }); }, _handleReset: function () { @@ -681,7 +681,7 @@ this._proxy = false; //this stops dragging of the handle and brings the active track to the front //this makes clicks on the track go the the last handle used - this.element.find("input").trigger("vmouseup"); + this.element.find("input").trigger("mouseup"); this._sliderFirst.css("z-index", first ? 1 : ""); }, @@ -870,8 +870,8 @@ this._setOption("popupEnabled", this.options.popupEnabled); - this._on(this.handle, { "vmousedown": "_showPopup" }); - this._on(this.slider.add(this.document), { "vmouseup": "_hidePopup" }); + this._on(this.handle, { "mousedown": "_showPopup" }); + this._on(this.slider.add(this.document), { "mouseup": "_hidePopup" }); this._refresh(); }, diff --git a/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js b/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js index edc05d59f0..676d76a439 100644 --- a/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js +++ b/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js @@ -6428,298 +6428,9 @@ $.widget( "mobile.checkboxradio", $.extend( { (function( $, undefined ) { -$.widget( "mobile.selectmenu", $.extend( { - initSelector: "select:not( [data-role='slider'])", - - options: { - theme: null, - icon: "carat-d", - iconpos: "right", - inline: false, - corners: true, - shadow: true, - iconshadow: false, /* TODO: Deprecated in 1.4, remove in 1.5. */ - overlayTheme: null, - dividerTheme: null, - hidePlaceholderMenuItems: true, - closeText: "Close", - nativeMenu: true, - // This option defaults to true on iOS devices. - preventFocusZoom: /iPhone|iPad|iPod/.test( navigator.platform ) && navigator.userAgent.indexOf( "AppleWebKit" ) > -1, - mini: false - }, - - _button: function() { - return $( "
" ); - }, - - _setDisabled: function( value ) { - this.element.attr( "disabled", value ); - this.button.attr( "aria-disabled", value ); - return this._setOption( "disabled", value ); - }, - - _focusButton : function() { - var self = this; - - setTimeout( function() { - self.button.focus(); - }, 40); - }, - - _selectOptions: function() { - return this.select.find( "option" ); - }, - - // setup items that are generally necessary for select menu extension - _preExtension: function() { - var inline = this.options.inline || this.element.jqmData( "inline" ), - mini = this.options.mini || this.element.jqmData( "mini" ), - classes = ""; - // TODO: Post 1.1--once we have time to test thoroughly--any classes manually applied to the original element should be carried over to the enhanced element, with an `-enhanced` suffix. See https://github.com/jquery/jquery-mobile/issues/3577 - /* if ( $el[0].className.length ) { - classes = $el[0].className; - } */ - if ( !!~this.element[0].className.indexOf( "ui-btn-left" ) ) { - classes = " ui-btn-left"; - } - - if ( !!~this.element[0].className.indexOf( "ui-btn-right" ) ) { - classes = " ui-btn-right"; - } - - if ( inline ) { - classes += " ui-btn-inline"; - } - if ( mini ) { - classes += " ui-mini"; - } - - this.select = this.element.removeClass( "ui-btn-left ui-btn-right" ).wrap( "