maqetta/maqetta — Issue #1747: onFirstAdd not called when opening existing files
Author: JonFerraiolo
Created: 2012-02-13 01:59:08+00:00
State: open
Labels: Priority High, Widget Libraries

Set Priorit-High because I might need this to get mobile views working in review/commenting, but if not, then maybe not Priority-High.

onFirstAdd is only invoked by CreateTool. If you create an HTML file with a widget from a particular library that uses onFirstAdd, save the file leaving the editor open, then do a browser refresh, the onFirstAdd method isn't called even though the HTML file that appears upon refreshing Maqetta includes a widget from the given library.

Note that right now only maqetta.shapes has an onFirstAdd method within callbacks.js.