search for: writeattribut

Displaying 5 results from an estimated 5 matches for "writeattribut".

Did you mean: writeattribute
2009 Sep 24
4
Action Controller ::MethodNotAllowed
...type="image" src="/images/btn-save-draft.png" name="save" value="Save" class="image_input"></input> <% end -%> the javascript functions in application.js function preview_event(element){ element.up(''#event_form'').writeAttribute(''target'', ''_blank''); element.up(''#event_form'').action = "preview"; element.up(''#event_form'').method = "post"; element.up(''#event_form'').submit(); element.up(''#event_form'&...
2007 Dec 21
5
dom movement methods, unattached objects
Hey guys I have a bunch of element fragments (ie this might be a div, with children of an image, another div) etc which aren''t attached to the document yet.. and can''t seem to call the dom manipulation methods on them: down(''img.icon'') returns undefined but if I look at the innerHTML of the element, there is clearly an image there with that class. Is this is
2007 Aug 29
0
Element.addMethods vs extending prototype.
...() to add some additional functionality to my forms ... Element.addMethods(''FORM'', { ... }); So far so good. I now want to add a new property to all forms. Is there an equivalent Element.addProperty(''FORM'', { ... }); technique I could use? As readAttribute / writeAttribute are used, how about an addAttribute / removeAttribute also? Any suggestions? Regards, Richard Quadling. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" --~--~---------~-...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...return this.responseText.evalJSON(options.sanitizeJSON); + return this.responseText.evalJSON(options.sanitizeJSON || + !this.request.isSameOrigin()); } catch (e) { this.request.dispatchException(e); } @@ -1546,6 +1569,7 @@ if (!Node.ELEMENT_NODE) { return Element.writeAttribute(cache[tagName].cloneNode(false), attributes); }; Object.extend(this.Element, element || { }); + if (element) this.Element.prototype = element.prototype; }).call(window); Element.cache = { }; @@ -1562,12 +1586,14 @@ Element.Methods = { }, hide: function(element) { - $(element)...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server