web/data/cubicweb.htmlhelpers.js
changeset 9814 faf0511ac181
parent 9379 b0b1148b6963
child 9819 95902c0b991b
equal deleted inserted replaced
9755:566d90bdc565 9814:faf0511ac181
   105 function toggleVisibility(elemId) {
   105 function toggleVisibility(elemId) {
   106     cw.jqNode(elemId).toggleClass('hidden');
   106     cw.jqNode(elemId).toggleClass('hidden');
   107 }
   107 }
   108 
   108 
   109 /**
   109 /**
   110  * .. function:: popupLoginBox()
       
   111  *
       
   112  * toggles visibility of login popup div
       
   113  */
       
   114 // XXX used exactly ONCE in basecomponents
       
   115 popupLoginBox = cw.utils.deprecatedFunction(
       
   116     function() {
       
   117         $('#popupLoginBox').toggleClass('hidden');
       
   118         jQuery('#__login:visible').focus();
       
   119 });
       
   120 
       
   121 /**
       
   122  * .. function getElementsMatching(tagName, properties, \/* optional \*\/ parent)
   110  * .. function getElementsMatching(tagName, properties, \/* optional \*\/ parent)
   123  *
   111  *
   124  * returns the list of elements in the document matching the tag name
   112  * returns the list of elements in the document matching the tag name
   125  * and the properties provided
   113  * and the properties provided
   126  *
   114  *