Commit Graph

3 Commits

Author SHA1 Message Date
markus101 ff44d05a72 Clean up SettingsController to not check for Null's as empty strings will not be null when returned.
class variables for _settingsSaved, _settingsFailed to easily change all error messages when saving
2011-02-14 17:20:17 -08:00
markus101 e7cbc4cbcf Added additional priorities supported by SABnzbd.
From shypike:This is the (kind of weird) priority table:

TOP_PRIORITY = 2
HIGH_PRIORITY = 1
NORMAL_PRIORITY = 0
LOW_PRIORITY = -1
DEFAULT_PRIORITY = -100
PAUSED_PRIORITY = -2

-100 won't do a thing, since it means: whatever is default.
2011-02-11 00:12:44 -08:00
markus101 6e66a7a27f Working on validation for forms, issues with server side, not sure how to post back model with AJAX submit, yet.
Split out settings model to support validation.
2011-02-10 17:22:29 -08:00