The sidebar wasn't processing the sources on a new (never published) document, so it wasn't properly detecting that a source had been added on the publishing check. This is why the message was incorrect and suggested you were publishing without any source information, when in fact the source info was filled out.
Test using latest code in the script editor for a new (not yet previewed or published) document that has the info for at least one source entered.
Closes #307
The sidebar wasn't processing the sources on a new (never published) document, so it wasn't properly detecting that a source had been added on the publishing check. This is why the message was incorrect and suggested you were publishing without any source information, when in fact the source info was filled out.
Test using latest code in the script editor for a new (not yet previewed or published) document that has the info for at least one source entered.