videomail-client 9.0.4 → 9.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -17273,7 +17273,7 @@ function wrappy (fn, cb) {
|
|
|
17273
17273
|
},{}],114:[function(_dereq_,module,exports){
|
|
17274
17274
|
module.exports={
|
|
17275
17275
|
"name": "videomail-client",
|
|
17276
|
-
"version": "9.0.
|
|
17276
|
+
"version": "9.0.5",
|
|
17277
17277
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
17278
17278
|
"keywords": [
|
|
17279
17279
|
"webcam",
|
|
@@ -19787,7 +19787,9 @@ var Container = function Container(options) {
|
|
|
19787
19787
|
debug("Container: buildForm()");
|
|
19788
19788
|
form = new _form.default(self, formElement, options);
|
|
19789
19789
|
var submitButton = form.findSubmitButton();
|
|
19790
|
-
|
|
19790
|
+
if (submitButton) {
|
|
19791
|
+
buttons.setSubmitButton(submitButton);
|
|
19792
|
+
}
|
|
19791
19793
|
form.build();
|
|
19792
19794
|
}
|
|
19793
19795
|
}
|
|
@@ -20372,6 +20374,7 @@ var Container = function Container(options) {
|
|
|
20372
20374
|
this.emit(_events.default.DISABLING_AUDIO);
|
|
20373
20375
|
};
|
|
20374
20376
|
this.submit = function () {
|
|
20377
|
+
debug("Container: submit()");
|
|
20375
20378
|
lastValidation && form && form.doTheSubmit();
|
|
20376
20379
|
};
|
|
20377
20380
|
this.isCountingDown = visuals.isCountingDown.bind(visuals);
|
|
@@ -20710,10 +20713,9 @@ var Form = function Form(container, formElement, options) {
|
|
|
20710
20713
|
var submitButton = self.findSubmitButton();
|
|
20711
20714
|
(0, _hidden.default)(submitButton, true);
|
|
20712
20715
|
}
|
|
20713
|
-
|
|
20714
|
-
// TODO CONTINUE FROM HERE, PUBLISH THIS CHANGE
|
|
20715
20716
|
this.unload = function () {
|
|
20716
20717
|
debug("Form: unload()");
|
|
20718
|
+
this.removeAllListeners();
|
|
20717
20719
|
stopListeningToSubmitEvents();
|
|
20718
20720
|
};
|
|
20719
20721
|
function startListeningToSubmitEvents() {
|
|
@@ -20725,6 +20727,7 @@ var Form = function Form(container, formElement, options) {
|
|
|
20725
20727
|
submitButton.removeEventListener("click", self.doTheSubmit.bind(self));
|
|
20726
20728
|
}
|
|
20727
20729
|
this.doTheSubmit = function (e) {
|
|
20730
|
+
debug("Form: doTheSubmit()", e);
|
|
20728
20731
|
if (e) {
|
|
20729
20732
|
e.preventDefault();
|
|
20730
20733
|
}
|