Commit Graph

7 Commits

Author SHA1 Message Date
Bharat Mediratta
85bdb606bf Escape CDATA blocks to avoid JS errors 2008-11-25 02:16:00 +00:00
Bharat Mediratta
3728136fce Escape Javascript to avoid validation errors. 2008-11-23 20:15:47 +00:00
Bharat Mediratta
161998dde6 Fix some broken-ness:
1) Item_Controller::_create() and _update() were swapped
2) _create() was redirecting to the wrong urls on success
3) Change in-place return parameter from __return to _return
4) Change in-place code to tunnel _put via POST
2008-11-19 06:35:54 +00:00
Bharat Mediratta
e0efdee8b2 Fix /item -> /items to conform to new REST api. 2008-11-19 04:14:09 +00:00
Bharat Mediratta
1b490c5fe6 Make Gallery3 more RESTful.
Create Item_Controller as a common superclass for Album_Controller and
Photo_Controller.  Change routes to route requests to Item_Controller
for dispatching, which in turn will generate get/post/put/delete
requests to the controlller so that each controller has a RESTful
surface.

Change in_place editing to take advantage of this.
2008-11-09 19:20:23 +00:00
Bharat Mediratta
0238925a63 Restrict our dom traversal to look only for span.gInPlaceEdit for speed. 2008-11-08 09:35:46 +00:00
Bharat Mediratta
950c58e6d3 Add support for in-place editing of data fields. 2008-11-08 09:28:11 +00:00