fixes #289 - Rename "Season 0" to "Specials"?

This commit is contained in:
Luke Pulverenti 2013-05-24 11:01:53 -04:00
parent ed0f918ac6
commit 5ce7645ca1
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,10 @@
Supply a custom path for images by name. MB server must have write access to this folder. Supply a custom path for images by name. MB server must have write access to this folder.
</div> </div>
</li> </li>
<li>
<label for="txtSeasonZeroName">Season 0 display name: </label>
<input type="text" id="txtSeasonZeroName" name="txtSeasonZeroName" required="required" />
</li>
<li> <li>
<button type="submit" data-theme="b" data-icon="ok"> <button type="submit" data-theme="b" data-icon="ok">
Save Save

View File

@ -15,6 +15,8 @@
$('#txtItemsByNamePath', page).removeAttr("required"); $('#txtItemsByNamePath', page).removeAttr("required");
} }
$('#txtSeasonZeroName', page).val(config.SeasonZeroDisplayName);
Dashboard.hideLoadingMsg(); Dashboard.hideLoadingMsg();
} }
@ -87,6 +89,8 @@
config.ItemsByNamePath = ''; config.ItemsByNamePath = '';
} }
config.SeasonZeroDisplayName = $('#txtSeasonZeroName', form).val();
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult); ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
}); });