function(n){n.setAttribute("tooltiptext","Note ID: " + g.notes[i].id() + " Creator ID: " + g.notes[i].creator());}
);
apply(node,'title',g.notes[i].title());
- apply(node,'pub',g.notes[i].pub() ? "Public" : "Private");
+ apply(node,'pub',get_bool(g.notes[i].pub()) ? "Public" : "Private");
apply(node,'value',g.notes[i].value());
apply(node,'id',g.notes[i].id());
apply(node,'creator',g.notes[i].creator());
note.isnew(1);
note.title( g.data.fancy_prompt_data.title );
note.value( g.data.fancy_prompt_data.note );
- note.pub( g.data.fancy_prompt_data.public ? 't' : 'f' );
+ note.pub( g.data.fancy_prompt_data.public ? get_db_true() : get_db_false() );
note.usr( g.patron_id );
var r = g.network.simple_request('FM_AUN_CREATE',[ ses(), note ]);
if (typeof r.ilsevent != 'undefined') throw(r);