Merge branch 'pr/2444' into maintenance
This commit is contained in:
commit
291fa88a82
3 files changed
+9
-1
No files matched your search
@@ -226,6 +226,10 @@ $(function() {
|
||||
}
|
||||
}
|
||||
|
||||
if (control.hasOwnProperty("command") && !control.hasOwnProperty("additionalClasses")) {
|
||||
control.additionalClasses = "";
|
||||
}
|
||||
|
||||
control.processed = true;
|
||||
return control;
|
||||
};
|
||||
|
||||
@@ -173,6 +173,6 @@
|
||||
<label style="cursor: default" data-bind="text: output"></label>
|
||||
</script>
|
||||
<script type="text/html" id="customControls_controlTemplate_command">
|
||||
<button class="btn" data-bind="text: name, enable: $root.isCustomEnabled($data), click: function() { $root.clickCustom($data) }"></button>
|
||||
<button class="btn" data-bind="text: name, css: additionalClasses, enable: $root.isCustomEnabled($data), click: function() { $root.clickCustom($data) }"></button>
|
||||
</script>
|
||||
<!-- End of templates for custom controls -->
|
||||
Reference in new issue
Block a user