fix remove-bug in http-form

This commit is contained in:
Sergey Tarnavskiy 2017-11-15 18:39:54 +02:00
parent 743b97fe9f
commit 86c2fe82b5
2 changed files with 4 additions and 1 deletions

View File

@ -87,6 +87,7 @@ export default function ExtensionFormHttpDirective($compile, $templateCache, $tr
if (index > -1) {
scope.converterConfigs.splice(index, 1);
}
scope.theForm.$setDirty();
}
scope.addConverter = function(converters) {
@ -99,6 +100,7 @@ export default function ExtensionFormHttpDirective($compile, $templateCache, $tr
if (index > -1) {
converters.splice(index, 1);
}
scope.theForm.$setDirty();
}
scope.addAttribute = function(attributes) {
@ -111,6 +113,7 @@ export default function ExtensionFormHttpDirective($compile, $templateCache, $tr
if (index > -1) {
attributes.splice(index, 1);
}
scope.theForm.$setDirty();
}
scope.transformerTypeChange = function(attribute) {

View File

@ -15,7 +15,7 @@
limitations under the License.
-->
<md-card class="extension-form">
<md-card class="extension-form extension-http">
<md-card-title>
<md-card-title-text>
<span translate class="md-headline">extension.configuration</span>