unplugged / unplugged-controls

7 stars 9 forks source link

Error when saving a document in another database #487

Closed MartinPerrie closed 10 years ago

MartinPerrie commented 10 years ago

UnpSaveDocument gets a handle to the other database using

var dbother:NotesDatabase = session.getDatabase(database.getServer(), context.getUrlParameter("dbname"));

but Unplugged doesn't support database.getServer(). Should this read

var dbother:NotesDatabase = session.getDatabase("", context.getUrlParameter("dbname"));
whitemx commented 10 years ago

Hi Martin,

Both seem to work for me using the latest version of Unplugged, but I will change it to use the "" just for safety's sake.

Matt