• R/O
  • SSH

fcf: Commit

FCF - Full Stack Javascript Framework

OpenSource is a full stack development framework designed to simplify the development of WEB projects of various complexity levels.

It is based on unique technologies that open up new opportunities in development approaches with NODEJS.


Commit MetaInfo

Revisiónee38fe7593d9fa3f3bcf3228634cc05ca5a2d3b4 (tree)
Tiempo2021-04-08 22:57:24
AutorVladimir Markin <v.o.markin221@gmai...>
CommiterVladimir Markin

Log Message

development

Cambiar Resumen

Diferencia incremental

diff -r c6b8610094e1 -r ee38fe7593d9 packages/fcfControls/templates/password.wrapper.js
--- a/packages/fcfControls/templates/password.wrapper.js Thu Apr 08 16:50:08 2021 +0300
+++ b/packages/fcfControls/templates/password.wrapper.js Thu Apr 08 16:57:24 2021 +0300
@@ -6,12 +6,13 @@
66
77 constructor(a_initializeOptions){
88 super(a_initializeOptions, true);
9- this._ignoreArgEvents = false;
9+ this._ignoreArgEvents = true;
1010 let element = fcf.select(this.getDomElement(), "input")[0];
11- if (!element)
12- return;
13- if (fcf.str(this.getArg("value")) != fcf.str(element.value) && fcf.str(element.value) !== "*******")
14- this.setArg("value", element.value);
11+ if (element){
12+ if (fcf.str(this.getArg("value")) != fcf.str(element.value) && fcf.str(element.value) !== "*******")
13+ this.setArg("value", element.value);
14+ }
15+ this._ignoreArgEvents = false;
1516 }
1617
1718 onArg (a_argName, a_value) {
diff -r c6b8610094e1 -r ee38fe7593d9 packages/fcfControls/templates/text-edit.wrapper.js
--- a/packages/fcfControls/templates/text-edit.wrapper.js Thu Apr 08 16:50:08 2021 +0300
+++ b/packages/fcfControls/templates/text-edit.wrapper.js Thu Apr 08 16:57:24 2021 +0300
@@ -6,14 +6,18 @@
66
77 constructor(a_initializeOptions, a_disableAutoFill){
88 super(a_initializeOptions);
9+ this._ignoreArgEvents = true;
910 let element = fcf.select(this.getDomElement(), "input")[0];
10- if (!element)
11- return;
12- if (!a_disableAutoFill && fcf.str(this.getArg("value")) != fcf.str(element.value))
13- this.setArg("value", element.value);
11+ if (element){
12+ if (!a_disableAutoFill && fcf.str(this.getArg("value")) != fcf.str(element.value))
13+ this.setArg("value", element.value);
14+ }
15+ this._ignoreArgEvents = false;
1416 }
1517
1618 onArg(a_name, a_value, a_editor, a_isInnerCall, a_suffix){
19+ if (this._ignoreArgEvents)
20+ return;
1721 if (!a_isInnerCall)
1822 this.update();
1923 }
Show on old repository browser