|
@@ -18,6 +18,8 @@
|
18
|
18
|
$scope.pending = false;
|
19
|
19
|
$scope.submitted = false;
|
20
|
20
|
|
|
21
|
+ $scope.novalidate = attrs.novalidate != undefined ? "" : undefined;
|
|
22
|
+
|
21
|
23
|
$scope.__submit = function()
|
22
|
24
|
{
|
23
|
25
|
$scope.submitted = true;
|
|
@@ -70,7 +72,7 @@
|
70
|
72
|
angular.module("luticateUtils").run(["$templateCache", function($templateCache)
|
71
|
73
|
{
|
72
|
74
|
$templateCache.put("/luticateUtils/dialogokcancel-directive.html", '<div class="popin modal-content" xmlns="http://www.w3.org/1999/html">' +
|
73
|
|
- '<form name="form" ng-submit="__submit()">' +
|
|
75
|
+ '<form name="form" ng-submit="__submit()" ng-attr-novalidate="{{novalidate}}">' +
|
74
|
76
|
'<div class="modal-header">{{ title }}</div>' +
|
75
|
77
|
'<div class="modal-body" lu-busy="modal">' +
|
76
|
78
|
' <div class="form-group form-horizontal">' +
|