Commit 86c2fe82b572c54e307f892a40b95a775f776d1c

Authored by Sergey Tarnavskiy
1 parent 743b97fe

fix remove-bug in http-form

@@ -87,6 +87,7 @@ export default function ExtensionFormHttpDirective($compile, $templateCache, $tr @@ -87,6 +87,7 @@ export default function ExtensionFormHttpDirective($compile, $templateCache, $tr
87 if (index > -1) { 87 if (index > -1) {
88 scope.converterConfigs.splice(index, 1); 88 scope.converterConfigs.splice(index, 1);
89 } 89 }
  90 + scope.theForm.$setDirty();
90 } 91 }
91 92
92 scope.addConverter = function(converters) { 93 scope.addConverter = function(converters) {
@@ -99,6 +100,7 @@ export default function ExtensionFormHttpDirective($compile, $templateCache, $tr @@ -99,6 +100,7 @@ export default function ExtensionFormHttpDirective($compile, $templateCache, $tr
99 if (index > -1) { 100 if (index > -1) {
100 converters.splice(index, 1); 101 converters.splice(index, 1);
101 } 102 }
  103 + scope.theForm.$setDirty();
102 } 104 }
103 105
104 scope.addAttribute = function(attributes) { 106 scope.addAttribute = function(attributes) {
@@ -111,6 +113,7 @@ export default function ExtensionFormHttpDirective($compile, $templateCache, $tr @@ -111,6 +113,7 @@ export default function ExtensionFormHttpDirective($compile, $templateCache, $tr
111 if (index > -1) { 113 if (index > -1) {
112 attributes.splice(index, 1); 114 attributes.splice(index, 1);
113 } 115 }
  116 + scope.theForm.$setDirty();
114 } 117 }
115 118
116 scope.transformerTypeChange = function(attribute) { 119 scope.transformerTypeChange = function(attribute) {
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 limitations under the License. 15 limitations under the License.
16 16
17 --> 17 -->
18 -<md-card class="extension-form"> 18 +<md-card class="extension-form extension-http">
19 <md-card-title> 19 <md-card-title>
20 <md-card-title-text> 20 <md-card-title-text>
21 <span translate class="md-headline">extension.configuration</span> 21 <span translate class="md-headline">extension.configuration</span>