fit-ui 3.4.1 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Fit.UI.js +19 -3
- package/dist/Fit.UI.min.js +1 -1
- package/package.json +1 -1
package/dist/Fit.UI.js
CHANGED
|
@@ -682,7 +682,7 @@ Fit._internal =
|
|
|
682
682
|
{
|
|
683
683
|
Core:
|
|
684
684
|
{
|
|
685
|
-
VersionInfo: { Major: 3, Minor: 4, Patch:
|
|
685
|
+
VersionInfo: { Major: 3, Minor: 4, Patch: 2 } // Do NOT modify format - version numbers are programmatically changed when releasing new versions - MUST be on a separate line!
|
|
686
686
|
}
|
|
687
687
|
};
|
|
688
688
|
|
|
@@ -26755,14 +26755,30 @@ Fit.Controls.Input = function(ctlId)
|
|
|
26755
26755
|
if (designEditorMustDisposeWhenReady === true)
|
|
26756
26756
|
{
|
|
26757
26757
|
Fit.Browser.Debug("WARNING: Input control '" + me.GetId() + "' was disposed while initializing DesignMode - now resuming disposal");
|
|
26758
|
-
|
|
26758
|
+
setTimeout(function() // Postpone - plugins (e.g. ColorButton) might register an instanceReady handler and expect the instance to still exist - postponing is fine, instanceReady and designEditorMustDisposeWhenReady already makes the operation async.
|
|
26759
|
+
{
|
|
26760
|
+
if (me === null)
|
|
26761
|
+
{
|
|
26762
|
+
return;
|
|
26763
|
+
}
|
|
26764
|
+
|
|
26765
|
+
me.Dispose();
|
|
26766
|
+
}, 0);
|
|
26759
26767
|
return;
|
|
26760
26768
|
}
|
|
26761
26769
|
|
|
26762
26770
|
if (designEditorMustReloadWhenReady === true)
|
|
26763
26771
|
{
|
|
26764
26772
|
Fit.Browser.Debug("WARNING: Editor for Input control '" + me.GetId() + "' finished loading, but properties affecting editor has changed while initializing - reloading to adjust to changes");
|
|
26765
|
-
|
|
26773
|
+
setTimeout(function() // Postpone - plugins (e.g. ColorButton) might register an instanceReady handler and expect the instance to still exist - postponing is fine, instanceReady and designEditorMustReloadWhenReady already makes the operation async.
|
|
26774
|
+
{
|
|
26775
|
+
if (me === null)
|
|
26776
|
+
{
|
|
26777
|
+
return;
|
|
26778
|
+
}
|
|
26779
|
+
|
|
26780
|
+
reloadEditor(true);
|
|
26781
|
+
}, 0);
|
|
26766
26782
|
return;
|
|
26767
26783
|
}
|
|
26768
26784
|
|