Example #1
0
        private void LocalizationButtonClick()
        {
            if (IsLocalizationMode && !ValidateForm())
            {
                return;
            }

            if (IsLocalizationModeAndChanged)
            {
                var newValue = GetLocalizationGridValue();
                localizationLastValue    = newValue;
                localizationPendingValue = newValue;
            }

            localizationButton.ToggleClass("pressed");
            UpdateInterface();

            if (IsLocalizationMode)
            {
                LoadLocalization();
            }
        }
Example #2
0
 protected virtual void UpdateDisabledState()
 {
     slickContainer.ToggleClass("ui-state-disabled", Q.IsTrue(IsDisabled));
 }