push
github
56 of 145 branches covered (38.62%)
48 of 50 new or added lines in 5 files covered. (96.0%)
3395 existing lines in 78 files now uncovered.8599 of 20189 relevant lines covered (42.59%)
701.76 hits per line
UNCOV
1
|
/** @format */
|
|
UNCOV
2
|
|
× |
3 |
define(["dijit/form/Form", "dojo/_base/declare"], function (Form, declare) { |
× |
UNCOV
4
|
/* The purpose of the SimpleForm is to be a regular dijit/form/Form,
|
× |
UNCOV
5
|
enhanced with the standard behaviours LedgerSMB wants in its |
× |
UNCOV
6
|
application, such as form validation. |
× |
UNCOV
7
|
|
× |
UNCOV
8
|
Note that in the usual use-case, you want the more extensively |
× |
UNCOV
9
|
adapted lsmb/Form, which uses asynchronous requests to submit |
× |
UNCOV
10
|
form content, as expected in the application's #maindiv |
× |
UNCOV
11
|
|
× |
UNCOV
12
|
Concluding: you only want to use this class in specific cases. |
× |
UNCOV
13
|
*/ |
× |
14 |
return declare("lsmb/SimpleForm", [Form], { |
× |
UNCOV
15
|
onSubmit: function () { |
× |
16 |
return this.validate(); |
× |
UNCOV
17
|
} |
× |
UNCOV
18
|
}); |
× |
UNCOV
19
|
}); |
× |