Anniepoo / weblog

Web Framework for SWI-Prolog
GNU Lesser General Public License v3.0
40 stars 6 forks source link

Ajaxify demo failing on first return after server starts #15

Open Anniepoo opened 10 years ago

Anniepoo commented 10 years ago
  1. Start prolog by double clicking debug.pl
  2. Start weblog_demo.
  3. click the ajaxify demo page
  4. type dddd into the text box
  5. hit return Expected: text appears above as is and below as uppercase observed: text fails to appear, text box clears

try it again with ssss Works properly reload page, works properly first time

wouterbeek commented 9 years ago

I cannot reproduce this one. There used to be a typo in the keyup event function. Maybe that fixed it?

Anniepoo commented 9 years ago

It only happens on the VERY FIRST try after starting. It's caused by weblog being lazy about installing the handler only when the page is requested. I may have fixed it. I'm reopening to ask you to try it the first time.