Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000910AmarilloJavaScript & HTMLpublic2014-06-17 03:362014-06-18 10:44
Assigned ToFred 
PlatformAllOSAllOS VersionAll
Product Version0.1-SNAPSHOT 
Target Version0.1Fixed in Version0.1 
Summary0000910: Add client-side scripting to access and utilise REST data services
DescriptionThe search and advertise pages require some client-side magic to function in a nice way.

Search should populate a list of summarised listings with links to the full display page. And update that on re-search. And not leave the search page without a specific non-search click.

Advertise should simply redirect the user to the new listing once successfully submitted, along with form validation to prevent a bogus submission.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0002796)
Fred (administrator)
2014-06-18 03:58

Search page now functions in a usable way as of 3247e6375e4f3aeb0e13d47a3628af2ddf17b063
User avatar (0002798)
Fred (administrator)
2014-06-18 06:59

The last comment wasn't quite true, see 0000916 for more info.

Added a broken attempt at making a delete button work in 32055eb0819a6c35ea974ca0ae4701d53314c690

REST delete service is working fine if triggered manually with curl like this:

curl -i -X DELETE http://localhost:10018/adverts/1 [^]

But couldn't seem to make jQuery/AJAX/Firefox do it. Did not debug this very efficiently, so it's likely solvable in some fashion, but I'm moving on.
User avatar (0002801)
Fred (administrator)
2014-06-18 10:44

Advertise page is now AJAXed as of f1ebdb17dcb96bd3ec85f67acac32a1b1aaffedb

As a result, it redirects to the new listing after submission.

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker