web/data/cubicweb.goa.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 21 Sep 2009 15:55:40 +0200
branchstable
changeset 3342 8b30ae9c4e67
parent 0 b97547f5f1fa
child 5658 7b9553a9db65
child 5767 1d811df051c2
permissions -rw-r--r--
[javascript] make inlinedform-added event bindable $(form).trigger('inlinedform-added') was not usable since form had no existence outside the inner callback. Use the general CubicWeb object to trigger the event so it's easy to bind a callback wherever it's needed.

/*
 *  functions specific to cubicweb on google appengine
 *
 *  :organization: Logilab
 *  :copyright: 2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 */

/* overrides rql_for_eid function from htmlhelpers.hs */
function rql_for_eid(eid) { return 'Any X WHERE X eid "' + eid + '"'; }