@@ -941,7 +941,7 @@ element to the select.
941
941
{
942
942
type: " actions" ,
943
943
items: [
944
- { type: ' submit' , title: ' Ok' }
944
+ { type: ' submit' , title: ' Ok' },
945
945
{ type: ' button' , title: ' Cancel' , onClick: " cancel()" }
946
946
]
947
947
}
@@ -953,7 +953,7 @@ We can change this with ```style``` attribute:
953
953
{
954
954
type: " actions" ,
955
955
items: [
956
- { type: ' submit' , style: ' btn-success' , title: ' Ok' }
956
+ { type: ' submit' , style: ' btn-success' , title: ' Ok' },
957
957
{ type: ' button' , style: ' btn-info' , title: ' Cancel' , onClick: " cancel()" }
958
958
]
959
959
}
@@ -967,7 +967,7 @@ the ```sf-schema``` directive.
967
967
968
968
` ` ` javascript
969
969
[
970
- { type: ' submit' , title: ' Ok' , onClick : function (){ ... } }
970
+ { type: ' submit' , title: ' Ok' , onClick : function (){ ... } },
971
971
{ type: ' button' , title: ' Cancel' , onClick: " cancel()" }
972
972
[
973
973
` ` `
@@ -976,7 +976,7 @@ The submit and other buttons have btn-default as default.
976
976
We can change this with ` ` ` style` ` ` attribute:
977
977
` ` ` javascript
978
978
[
979
- { type: ' submit' , style: ' btn-warning' , title: ' Ok' , onClick : function (){ ... } }
979
+ { type: ' submit' , style: ' btn-warning' , title: ' Ok' , onClick : function (){ ... } },
980
980
{ type: ' button' , style: ' btn-danger' , title: ' Cancel' , onClick: " cancel()" }
981
981
[
982
982
` ` `
0 commit comments