X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fforms%2Fplugin.js;h=4668bef9c2e8e6f693465bffbfee2ad64cdc6133;hp=7d8ea4591250846824f3c3ed1680020b5a056e1c;hb=039a051ccf3901311661022a30afd60fc38130c9;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7 diff --git a/_source/plugins/forms/plugin.js b/_source/plugins/forms/plugin.js index 7d8ea45..4668bef 100644 --- a/_source/plugins/forms/plugin.js +++ b/_source/plugins/forms/plugin.js @@ -191,10 +191,13 @@ CKEDITOR.plugins.add( 'forms', switch ( type ) { - case 'text' : case 'password': + case 'text' : + case 'password' : evt.data.dialog = 'textfield'; break; - case 'button' : case 'submit' : case 'reset' : + case 'button' : + case 'submit' : + case 'reset' : evt.data.dialog = 'button'; break; case 'checkbox' :