Dear Pawel,
THANK YOU SO MUCH !!!
I am amazed by how you can simplify everything into a very nice work of coding.
Now I see why FIDDLEs are so good to work with :-)
I've been designing systems and coding software since 1980's, from mainframes, client-server, web systems and what is now legacy to a younger generation. I bet my son would understand AngularJS better because he starts with a clean sheet of paper. But, I need to prove to myself that we can develop on a platform that will be around in 10 years from now. My engineering teams are skeptical until they see me actually delivering some awesome and radical solutions (which I'm sure we'll do).
You were very generous with your time, and I will try to return the favor by publishing the "framework" that we're developing. The idea is to have an architecture that we can give to several developers of different functions, and have one IT architect that can delegate small applets for our business (agroindustrial producer, exporter and trading company in South America).
Meanwhile, I took the liberty to add back the openNew() "+" function on tab 1.
Its not quite there, as when I click on the SAVE button in tab 2, I still need to jump back to tab 1 and I must also erase (inactivate ?) the fields left on screen (tab 2).
Its an excellent demo for using your "wrapper" -- perfect to create many "collections" (tables) in a MONGO database.
Thank you for your precious time !
Marcus