search for: removechild

Displaying 20 results from an estimated 47 matches for "removechild".

2010 Jan 06
0
[PATCH] Converter: Fixes to Xen metadata conversion
...s found - print STDERR user_message - (__x("WARNING: No replacement found for {xpath} in ". - "domain XML. The node was removed.", - xpath => $xpath)) if($required); - - $node->getParentNode()->removeChild($node); - } - } + _unconfigure_xen_metadata($dom, $default_dom); } sub _configure_os @@ -303,7 +273,8 @@ sub _configure_capabilities if(!$found) { print STDERR user_message (__x("The connected hypervisor does not support a ". -...
2007 Jan 10
4
Firefox Redraw Time
...t in a horizontal fashion. The list is inside a absolutely positioned div, with an overflow set to hidden. At one point in my script I have to remove the first list item, but I don''t want the rest of the list items to collapse to the left. Within my script I have something like: this.ul.removeChild(li[0]); this.ul.style.left = ''100px''; Now assuming the list is positioned relative and each list item is set to 100px wide. This should remove the first li, collapsing the others to the left, then I immediately set the left side of the ul to 100px, so it looks like the first li d...
2007 Dec 14
3
FXTabBook / FXTabItem / FXTabBar
Lyle and Henon; thanks for helping out with ''clearing'' the frames. It''s working. I end up using; parent.removeChild(righttopframe) righttopframe = nil Am afraid I stumbled on another question. I managed to put my application in a tabbook. I am looking to catch the event ''click on tabitem''. I tried SEL_COMMAND on TabItem but that seems not to work. I also would appreciate some text to explai...
2007 Jun 26
5
Migration of Effect from 1.4.0 to 1.5.1
Hi, Is there migration for custom Effect between prototype/scriptaculous 1.4 and 1.5 ? Kevin Davis send me it''s cool Poof Effect but it seems to be tooooo fast in last version of scriptaculous. I think it comes from the code ? But I don''t know the best way to correct that ? Here is a copy/past of his mail for anybody interested in his Effect: > > Hey there, sorry for
2008 Nov 21
3
Dynamic generation of a (sub) layout
...ever when I try to open another file, the content of @selectUVFrame disappears - nothing is displayed. I''ve inspected the children of @selectUVFrame and they all seem to be there, except I can''t see them. If I leave out the first line ( @selectUVFrame.each_child{|c| @selectUVFrame.removeChild(c)}) the list of children of @selectUVFrame grows, but again I can''t see the new ones (and the layout get''s corrupted, too). I seem to miss some basic understanding here and couldn''t find any hint of what I''m doing wrong. Thanks for any help, Armin @selectUV...
2006 Jun 15
8
Loading CSS for AJAX apps.
I am working on an update to my content management system and I am using a lot of AJAX to load in the different "Modules" I want each module to be self contained, including all its specific js and CSS. Does any one know of a good solution for loading in new CSS to go with the code loaded in via the AJAX call? Thanks.
2009 Dec 21
1
[PATCH] Converter: Blacklist ACPI for RHEL 3 x86_64
...ge (__x("The connected hypervisor does not support ". - "feature {feature}", feature => $feature->getNodeName())); + "feature {feature}", feature => $name)); + $feature->getParentNode()->removeChild($feature); + } + + if ($name eq 'acpi' && !$guestcaps->{acpi}) { + print STDERR user_message + (__"The target guest does not support acpi under KVM. ACPI ". + "will be disabled."); $feature...
2010 Sep 27
2
[PATCH 0/2] Remove troublesome devices when outputting to libvirt
These 2 patches remove devices which can prevent a guest from starting after conversion if they aren't supported by the target. This solution isn't ideal. We would preferrably query the target for supported models and update if necessary, however there's no API for this yet. Matthew Booth (2): Remove converted SCSI controllers Remove sound cards when outputting to libvirt
2006 Feb 21
7
non simultaneous effects
Hi all, If I call this function bla: function bla() { Effect.Appear('some_element'); Effect.Appear('some_other_element'); } Both effect happen at the same time. Is there a way to stop this from happening? I mean, how can I delay the effect on 'some_other_element' from happening until the effect on 'some_element' is finished? thanks and regards, Jeroen
2007 Jun 10
2
Problem replacing form element with another form
Having a strange problem with replacing a form with another form. If I do this Element.replace("some_form_id", "<form>dummy text</form>") where "some_form_if" is the id of a form element only the text between the form tags is inserted, not the form tags. Tend to think I must be doing something dumb, as can''t find any discussions on this anywhere.
2007 Dec 12
2
fxruby and framecontrole
I am new to (FX)ruby and am wrestling with the following question. In my application I have a three frame split by two splitters. One frame on the left side with a treelist and two frames above each other on the right side. The editable content of the right top frame depends on the item clicked in the treelist. The editable content of the right bottom frame depends on data enter in the right
2011 Mar 11
2
[PATCH 1/2] Allow reading more data than the reported size of a volume
If a volume is not an exact multiple of 512 bytes, qemu-img will report its size rounded down to a 512 byte boundary. However, when copying, the file is still read until EOF, which will return more data than was expected. This change prevents that causing a failure in itself. The situation is still not resolved, however, as there are still situations where this will cause a failure. For example,
2007 Feb 12
18
document "expando" properties broken in Konqueror
I noticed that some of my event handlers and scripts evaluated in ajax responses didn''t work in Konqueror (3.5.5). document.getElementsByClassName is not defined in these contexts. I can work around this, by saving document.getElementsByClassName in a (namespaced) global variable once and reassigning it before each use. Still, this misfeature is annoying and not restricted to this
2005 Sep 27
8
prototype.js
Hi *, We don''t know if you guys are the right audience, but we got a problem with prototype.js we need to solve. Essentially, it is a compatibility bug with the IE. We wrote a component so it updates itself periodically using AJAX. we used the prototype.js to accomplish this (using the periodicalUpdater object). now the component works fine using firefox or opera, but NOT with IE. the
2006 Jan 09
6
drag and drop problem
I am working on a resource planning problem. I like to use a nice drag and drop interface for that. E.g. have a box of persons and a box of projects, now I would like to assign a persom to project by dragging it from the available resources box to a recieving project box. I have studied the amazing drag and drop shopping card code listed here http://demo.script.aculo.us/shop What I need to
2005 Jul 12
8
Tip Sheet for AJAX
Hi all, I''m making an Amy Hoy style tip sheet PDF for the Prototype and Scriptaculous AJAX stuff, to be used with Rails. Are there other resources you would suggest besides the websites themselves (the previous thread about Highlight reminded me of this)? Is there a particular focus that would be helpful for such a document? Preferred fonts or colors? I must say, once you get
2006 Jan 16
8
AJAX + Table.
Hello all. I am trying ot load table rows using AJAX based on a search. The following code results in: 1. Firefox renders correctly (Multiple rows inserted into page). 2. Opera renders the entire returned string in one <td> by the looks of it (Bunched up under first header, the <> tags arne''t visible) 3. IE6 does nothing....great ;) This is driving me nuts so any help
2008 May 07
0
api swap
...ge things : swapping to google is ok ( *but marker disappear* ) *swapping to yahoo don''t work* *swapping mapquest give me a components error in firebug* : * uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.removeChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://btilelog.access.mapquest.com/tilelog/transaction?transaction=script&key=mjtd%7Clu6t210anh%2Crn%3Do5-labwu&ipr=true&itk=true&v=5.1:: anonymous :: line 483" * *swapping to micro...
2006 Jun 24
0
Lightbox and Prototype
I am running Rails 1.1.2 (frozen gems) and trying to use Lightbox 2.0. I am getting this exception in Firefox: uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMHTMLDivElement.removeChild]" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: http://localhost:3000/javascripts/prototype.js?1151109408 :: anonymous :: line 947" data: no] Any help would be greatly appreciated.
2009 Jun 04
4
ActionController::InvalidAuthenticityToken & :before
I have a form that submits search criteria and while it is processing I wanted to use a js function to indicate: <% form_remote_tag :update => ''mainbody'', :url => {:action => ''search''}, :before => "wait_message(''mainbody'',''S E A R C H I N G'')" do%> wait_message() executes but then when