private void LocalizationButtonClick() { if (IsLocalizationMode && !ValidateForm()) { return; } if (IsLocalizationModeAndChanged) { var newValue = GetLocalizationGridValue(); localizationLastValue = newValue; localizationPendingValue = newValue; } localizationButton.ToggleClass("pressed"); UpdateInterface(); if (IsLocalizationMode) { LoadLocalization(); } }
protected virtual void UpdateDisabledState() { slickContainer.ToggleClass("ui-state-disabled", Q.IsTrue(IsDisabled)); }