r4772 - trunk/cumin/resources
by croberts@fedoraproject.org
Author: croberts
Date: 2011-05-19 18:27:22 +0000 (Thu, 19 May 2011)
New Revision: 4772
Modified:
trunk/cumin/resources/app.css
Log:
To address BZ https://bugzilla.redhat.com/show_bug.cgi?id=703630 I have reeled-in the fullpageIcon p element by adjusting the top and right positions.
Modified: trunk/cumin/resources/app.css
===================================================================
--- trunk/cumin/resources/app.css 2011-05-19 16:27:05 UTC (rev 4771)
+++ trunk/cumin/resources/app.css 2011-05-19 18:27:22 UTC (rev 4772)
@@ -511,8 +511,8 @@
float: right;
z-index: 4;
position: absolute;
- top: -2px;
- right: 4px;
+ top: 27px;
+ right: 60px;
display: none;
}
div.fullpageable:hover div.fullpageTitle,
12 years, 11 months
r4770 - trunk/cumin/bin
by tmckay@fedoraproject.org
Author: tmckay
Date: 2011-05-18 20:08:42 +0000 (Wed, 18 May 2011)
New Revision: 4770
Modified:
trunk/cumin/bin/cumin
Log:
Fix up cumin master script to print trace of config file parse errors
to log file.
BZ674598
Modified: trunk/cumin/bin/cumin
===================================================================
--- trunk/cumin/bin/cumin 2011-05-18 14:51:52 UTC (rev 4769)
+++ trunk/cumin/bin/cumin 2011-05-18 20:08:42 UTC (rev 4770)
@@ -5,6 +5,7 @@
import os
import sys
import signal
+import traceback
home = os.environ.get("CUMIN_HOME", os.path.normpath("/usr/share/cumin"))
sys.path.append(os.path.join(home, "python"))
@@ -53,42 +54,45 @@
PROG_STRING = 2
config = CuminMasterConfig()
- values = config.parse().master
- parser = OptionParser()
+ # Trap exit from parser and save standard error for logging
+ # Then put stderr back to original value
+ r, w = os.pipe()
+ sys.stderr = os.fdopen(w,"w")
+ try:
+ values = config.parse().master
- parser.add_option("--init-only", dest="init_only", action="store_true", default=False,
- help="Check options and initialization, then return.")
+ parser = OptionParser()
- parser.add_option("--webs", dest="webs", default=values.webs,
- help="Configuration section names for cumin-web instances."\
- "\nEach value implies a separate cumin-web instance.")
+ parser.add_option("--init-only", dest="init_only", action="store_true", default=False,
+ help="Check options and initialization, then return.")
- parser.add_option("--datas", dest="datas", default=values.datas,
- help="Configuration section names for cumin-data instances."\
- "\nEach value implies a separate cumin-data instance.")
+ parser.add_option("--webs", dest="webs", default=values.webs,
+ help="Configuration section names for cumin-web instances."\
+ "\nEach value implies a separate cumin-web instance.")
- parser.add_option("--console", dest="console", action="store_true", default=False,
- help="Log to stderr rather than master.log, no IO redirection for children.")
+ parser.add_option("--datas", dest="datas", default=values.datas,
+ help="Configuration section names for cumin-data instances."\
+ "\nEach value implies a separate cumin-data instance.")
- parser.add_option("--data_options", dest="data_options", default="", type=str,
- help="Additional options string to pass to data instances."\
- "\nEnclose in quotes, options must be --option form, splits on spaces."\
- '\nExample: data_options="--print-events=5 --print-stats"')
+ parser.add_option("--console", dest="console", action="store_true", default=False,
+ help="Log to stderr rather than master.log, no IO redirection for children.")
- parser.add_option("--web_options", dest="web_options", default="", type=str,
- help="Additional options string to pass to web instances."\
- "\nEnclose in quotes, options must be --option form, splits on spaces."\
- '\nExample: web_options="--debug --port=12345"')
+ parser.add_option("--data_options", dest="data_options", default="", type=str,
+ help="Additional options string to pass to data instances."\
+ "\nEnclose in quotes, options must be --option form, splits on spaces."\
+ '\nExample: data_options="--print-events=5 --print-stats"')
- # Trap exit from parser and save standard error for logging
- # Then put stderr back to original value
- r, w = os.pipe()
- sys.stderr = os.fdopen(w,"w")
- try:
+ parser.add_option("--web_options", dest="web_options", default="", type=str,
+ help="Additional options string to pass to web instances."\
+ "\nEnclose in quotes, options must be --option form, splits on spaces."\
+ '\nExample: web_options="--debug --port=12345"')
(options, args) = parser.parse_args()
+ except SystemExit:
+ options = args = None
except:
options = args = None
+ traceback.print_exc()
sys.stderr.close()
sys.stderr = sys.__stderr__
12 years, 11 months
r4769 - trunk/cumin/python/cumin/grid
by croberts@fedoraproject.org
Author: croberts
Date: 2011-05-18 14:51:52 +0000 (Wed, 18 May 2011)
New Revision: 4769
Modified:
trunk/cumin/python/cumin/grid/job.py
Log:
Update to previous fix for BZ: https://bugzilla.redhat.com/show_bug.cgi?id=703196 Since our workaround is to put quotes in the edit box, we should be able to support that even after the fix is in. This fix allows us to work whether the user quoted their string or not.
Modified: trunk/cumin/python/cumin/grid/job.py
===================================================================
--- trunk/cumin/python/cumin/grid/job.py 2011-05-18 13:47:58 UTC (rev 4768)
+++ trunk/cumin/python/cumin/grid/job.py 2011-05-18 14:51:52 UTC (rev 4769)
@@ -678,10 +678,10 @@
orig = float(orig)
if fval != orig:
if ftype == "string":
- quoted = "\"%s\"" % fval
+ quoted = "\"%s\"" % strip_string_quotes(fval)
if quoted == orig:
continue
- just_ads[unicode(field)] = quoted #strings must be quoted, or condor will treat it as an expression
+ just_ads[unicode(field)] = quoted #string
else:
just_ads[unicode(field)] = fval
12 years, 11 months
r4768 - trunk/cumin/python/cumin/grid
by croberts@fedoraproject.org
Author: croberts
Date: 2011-05-18 13:47:58 +0000 (Wed, 18 May 2011)
New Revision: 4768
Modified:
trunk/cumin/python/cumin/grid/job.py
Log:
To address BZ https://bugzilla.redhat.com/show_bug.cgi?id=703196 we are now quoting any strings values that are being sent to condor to update the job attributes. This is necessary since condor will treat any unquoted strings as expressions.
Modified: trunk/cumin/python/cumin/grid/job.py
===================================================================
--- trunk/cumin/python/cumin/grid/job.py 2011-05-18 11:23:51 UTC (rev 4767)
+++ trunk/cumin/python/cumin/grid/job.py 2011-05-18 13:47:58 UTC (rev 4768)
@@ -681,7 +681,9 @@
quoted = "\"%s\"" % fval
if quoted == orig:
continue
- just_ads[unicode(field)] = fval
+ just_ads[unicode(field)] = quoted #strings must be quoted, or condor will treat it as an expression
+ else:
+ just_ads[unicode(field)] = fval
if not errors:
id = self.frame.id.get(session)
12 years, 11 months
r4767 - branches/stability/cumin/python/cumin
by tmckay@fedoraproject.org
Author: tmckay
Date: 2011-05-18 11:23:51 +0000 (Wed, 18 May 2011)
New Revision: 4767
Modified:
branches/stability/cumin/python/cumin/objectselector.strings
Log:
Merge 4766 from trunk
BZ705289
Modified: branches/stability/cumin/python/cumin/objectselector.strings
===================================================================
--- branches/stability/cumin/python/cumin/objectselector.strings 2011-05-17 14:01:27 UTC (rev 4766)
+++ branches/stability/cumin/python/cumin/objectselector.strings 2011-05-18 11:23:51 UTC (rev 4767)
@@ -72,6 +72,9 @@
</script>
</div>
+[ObjectSelectorTable.javascript]
+wooly.addPageUpdateListener(cumin.restoreTableCheckboxes);
+
[ObjectSelectorTable.html]
<table id="{id}" class="{class}">
<style type="text/css">
12 years, 11 months
r4766 - trunk/cumin/python/cumin
by eallen@fedoraproject.org
Author: eallen
Date: 2011-05-17 14:01:27 +0000 (Tue, 17 May 2011)
New Revision: 4766
Modified:
trunk/cumin/python/cumin/objectselector.strings
Log:
For BZ https://bugzilla.redhat.com/show_bug.cgi?id=705289
Add javascript to restore the checkboxes after a page update
Modified: trunk/cumin/python/cumin/objectselector.strings
===================================================================
--- trunk/cumin/python/cumin/objectselector.strings 2011-05-16 19:05:54 UTC (rev 4765)
+++ trunk/cumin/python/cumin/objectselector.strings 2011-05-17 14:01:27 UTC (rev 4766)
@@ -72,6 +72,9 @@
</script>
</div>
+[ObjectSelectorTable.javascript]
+wooly.addPageUpdateListener(cumin.restoreTableCheckboxes);
+
[ObjectSelectorTable.html]
<table id="{id}" class="{class}">
<style type="text/css">
12 years, 11 months
r4765 - branches/stability/wooly/resources
by tmckay@fedoraproject.org
Author: tmckay
Date: 2011-05-16 19:05:54 +0000 (Mon, 16 May 2011)
New Revision: 4765
Modified:
branches/stability/wooly/resources/mootools.js
Log:
Merge 4763 from trunk.
BZ704246
Modified: branches/stability/wooly/resources/mootools.js
===================================================================
--- branches/stability/wooly/resources/mootools.js 2011-05-16 19:03:46 UTC (rev 4764)
+++ branches/stability/wooly/resources/mootools.js 2011-05-16 19:05:54 UTC (rev 4765)
@@ -264,8 +264,8 @@
});
(function(){var h={},f={};var i={input:"checked",option:"selected",textarea:(Browser.Engine.webkit&&Browser.Engine.version<420)?"innerHTML":"value"};
var c=function(l){return(f[l]||(f[l]={}));};var g=function(n,l){if(!n){return;}var m=n.uid;if(Browser.Engine.trident){if(n.clearAttributes){var q=l&&n.cloneNode(false);
-n.clearAttributes();if(q){n.mergeAttributes(q);}}else{if(n.removeEvents){n.removeEvents();}}if((/object/i).test(n.tagName)){for(var o in n){if(typeof n[o]=="function"){n[o]=$empty;
-}}Element.dispose(n);}}if(!m){return;}h[m]=f[m]=null;};var d=function(){Hash.each(h,g);if(Browser.Engine.trident){$A(document.getElementsByTagName("object")).each(g);
+n.clearAttributes();if(q){n.mergeAttributes(q);}}else{if(n.removeEvents){n.removeEvents();}}if((/object/i).test(n.tagName)){if(!Browser.Engine.trident){for(var o in n){if(typeof n[o]=="function"){n[o]=$empty;
+}}}Element.dispose(n);}}if(!m){return;}h[m]=f[m]=null;};var d=function(){Hash.each(h,g);if(Browser.Engine.trident){$A(document.getElementsByTagName("object")).each(g);
}if(window.CollectGarbage){CollectGarbage();}h=f=null;};var j=function(n,l,s,m,p,r){var o=n[s||l];var q=[];while(o){if(o.nodeType==1&&(!m||Element.match(o,m))){if(!p){return document.id(o,r);
}q.push(o);}o=o[l];}return(p)?new Elements(q,{ddup:false,cash:!r}):null;};var e={html:"innerHTML","class":"className","for":"htmlFor",defaultValue:"defaultValue",text:(Browser.Engine.trident||(Browser.Engine.webkit&&Browser.Engine.version<420))?"innerText":"textContent"};
var b=["compact","nowrap","ismap","declare","noshade","checked","disabled","readonly","multiple","selected","noresize","defer"];var k=["value","type","defaultValue","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","maxLength","readOnly","rowSpan","tabIndex","useMap"];
12 years, 11 months
r4764 - in branches/stability: cumin/python/cumin cumin/python/cumin/grid wooly/resources
by tmckay@fedoraproject.org
Author: tmckay
Date: 2011-05-16 19:03:46 +0000 (Mon, 16 May 2011)
New Revision: 4764
Modified:
branches/stability/cumin/python/cumin/grid/job.strings
branches/stability/cumin/python/cumin/grid/negotiator.strings
branches/stability/cumin/python/cumin/objectselector.strings
branches/stability/cumin/python/cumin/objecttask.strings
branches/stability/wooly/resources/wooly.js
Log:
Merge 4762 from trunk.
BZ704253
Modified: branches/stability/cumin/python/cumin/grid/job.strings
===================================================================
--- branches/stability/cumin/python/cumin/grid/job.strings 2011-05-13 19:50:38 UTC (rev 4763)
+++ branches/stability/cumin/python/cumin/grid/job.strings 2011-05-16 19:03:46 UTC (rev 4764)
@@ -148,7 +148,7 @@
</div>
</form>
<script type="text/javascript">
-<![CDATA[
+//<![CDATA[
(function() {
var scrolled = false;
if ({is_tail}) {
@@ -160,7 +160,7 @@
} );
}
}())
-]]>
+//]]>
</script>
[OutputFile.html]
Modified: branches/stability/cumin/python/cumin/grid/negotiator.strings
===================================================================
--- branches/stability/cumin/python/cumin/grid/negotiator.strings 2011-05-13 19:50:38 UTC (rev 4763)
+++ branches/stability/cumin/python/cumin/grid/negotiator.strings 2011-05-16 19:03:46 UTC (rev 4764)
@@ -23,7 +23,7 @@
<div>{hidden_inputs}</div>
</form>
<script type="text/javascript">
-<![CDATA[
+//<![CDATA[
cumin.initializeGroupForm = function () {
cumin.init_sliders("{chart_id}");
@@ -72,7 +72,7 @@
}
}
}
-]]>
+//]]>
</script>
[EditDynamicQuotaForm.css]
Modified: branches/stability/cumin/python/cumin/objectselector.strings
===================================================================
--- branches/stability/cumin/python/cumin/objectselector.strings 2011-05-13 19:50:38 UTC (rev 4763)
+++ branches/stability/cumin/python/cumin/objectselector.strings 2011-05-16 19:03:46 UTC (rev 4764)
@@ -57,7 +57,7 @@
<div>{hidden_inputs}</div>
</form>
<script type="text/javascript">
-<![CDATA[
+//<![CDATA[
$(document.forms[0]).getElements('[type=text]').each(function(el){ new OverText(el, {
positionOptions: {
offset: {
@@ -68,7 +68,7 @@
}); });
{script}
-]]>
+//]]>
</script>
</div>
@@ -139,7 +139,7 @@
<div class="deferredSpacer">Loading...</div>
</div>
<script type="text/javascript">
-<![CDATA[
+//<![CDATA[
(function() {
if (typeof window.reUpdated == "undefined") {
@@ -152,7 +152,7 @@
}
}())
-]]>
+//]]>
</script>
[ObjectQmfSelector.error_html]
@@ -195,7 +195,7 @@
<div id="{id}_details" class="Details" style="display: {style};">{details}</div>
</div>
<script type="text/javascript">
-<![CDATA[
+//<![CDATA[
function showDetails() {
var updateUrl = wooly.branchIntervalUpdate();
var branch = updateUrl["session"];
@@ -213,7 +213,7 @@
}
wooly.restartIntervalUpdate(updateUrl.marshal());
}
-]]>
+//]]>
</script>
[ObjectTableColumn.css]
Modified: branches/stability/cumin/python/cumin/objecttask.strings
===================================================================
--- branches/stability/cumin/python/cumin/objecttask.strings 2011-05-13 19:50:38 UTC (rev 4763)
+++ branches/stability/cumin/python/cumin/objecttask.strings 2011-05-16 19:03:46 UTC (rev 4764)
@@ -1,39 +1,3 @@
-[TaskInvocationSet.css]
-div.TaskInvocationSet {
- background-color: #fe0;
- padding: 1em 2em;
- -moz-border-radius: 0.5em;
- -webkit-border-radius: 0.5em;
- margin: 0.5em auto 1em auto;
- width: 80%;
-}
-
-div.TaskInvocationSet ul {
- margin: 0;
- padding: 0 0 0 1em;
-}
-
-div.TaskInvocationSet a.dismiss {
- float: right;
- font-size: 0.9em;
-}
-
-div.TaskInvocationSet a.dismissall {
- font-size: 0.9em;
-}
-
-[TaskInvocationSet.html]
-<div id="{id}" class="{class}">
- <!-- <a class="dismissall" href="">Dismiss all</a> -->
- <ul>{items}</ul>
-</div>
-
-[TaskInvocationItem.html]
-<li>
- <a class="dismiss" href="{dismiss_href}">Dismiss</a>
- {message}
-</li>
-
[SelectionList.css]
ul.SelectionList {
list-style: none;
Modified: branches/stability/wooly/resources/wooly.js
===================================================================
--- branches/stability/wooly/resources/wooly.js 2011-05-13 19:50:38 UTC (rev 4763)
+++ branches/stability/wooly/resources/wooly.js 2011-05-16 19:03:46 UTC (rev 4764)
@@ -203,12 +203,11 @@
var damnyouie = /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
function replaceNode(newNode, oldNode) {
- var node = copyNode(newNode, true);
- oldNode.parentNode.replaceChild(node, oldNode);
-
if (document.all) {
- // Damn you straight to hell, IE!
- node.outerHTML = node.outerHTML;
+ oldNode.outerHTML = newNode.xml;
+ } else {
+ var node = copyNode(newNode, true);
+ oldNode.parentNode.replaceChild(node, oldNode);
}
}
12 years, 11 months
r4763 - trunk/wooly/resources
by croberts@fedoraproject.org
Author: croberts
Date: 2011-05-13 19:50:38 +0000 (Fri, 13 May 2011)
New Revision: 4763
Modified:
trunk/wooly/resources/mootools.js
Log:
Patch to the mootools js library to fix a problem that shows-up in IE8 per BZ https://bugzilla.redhat.com/show_bug.cgi?id=704246 .
Modified: trunk/wooly/resources/mootools.js
===================================================================
--- trunk/wooly/resources/mootools.js 2011-05-13 16:51:26 UTC (rev 4762)
+++ trunk/wooly/resources/mootools.js 2011-05-13 19:50:38 UTC (rev 4763)
@@ -264,8 +264,8 @@
});
(function(){var h={},f={};var i={input:"checked",option:"selected",textarea:(Browser.Engine.webkit&&Browser.Engine.version<420)?"innerHTML":"value"};
var c=function(l){return(f[l]||(f[l]={}));};var g=function(n,l){if(!n){return;}var m=n.uid;if(Browser.Engine.trident){if(n.clearAttributes){var q=l&&n.cloneNode(false);
-n.clearAttributes();if(q){n.mergeAttributes(q);}}else{if(n.removeEvents){n.removeEvents();}}if((/object/i).test(n.tagName)){for(var o in n){if(typeof n[o]=="function"){n[o]=$empty;
-}}Element.dispose(n);}}if(!m){return;}h[m]=f[m]=null;};var d=function(){Hash.each(h,g);if(Browser.Engine.trident){$A(document.getElementsByTagName("object")).each(g);
+n.clearAttributes();if(q){n.mergeAttributes(q);}}else{if(n.removeEvents){n.removeEvents();}}if((/object/i).test(n.tagName)){if(!Browser.Engine.trident){for(var o in n){if(typeof n[o]=="function"){n[o]=$empty;
+}}}Element.dispose(n);}}if(!m){return;}h[m]=f[m]=null;};var d=function(){Hash.each(h,g);if(Browser.Engine.trident){$A(document.getElementsByTagName("object")).each(g);
}if(window.CollectGarbage){CollectGarbage();}h=f=null;};var j=function(n,l,s,m,p,r){var o=n[s||l];var q=[];while(o){if(o.nodeType==1&&(!m||Element.match(o,m))){if(!p){return document.id(o,r);
}q.push(o);}o=o[l];}return(p)?new Elements(q,{ddup:false,cash:!r}):null;};var e={html:"innerHTML","class":"className","for":"htmlFor",defaultValue:"defaultValue",text:(Browser.Engine.trident||(Browser.Engine.webkit&&Browser.Engine.version<420))?"innerText":"textContent"};
var b=["compact","nowrap","ismap","declare","noshade","checked","disabled","readonly","multiple","selected","noresize","defer"];var k=["value","type","defaultValue","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","maxLength","readOnly","rowSpan","tabIndex","useMap"];
12 years, 11 months
r4762 - in trunk: cumin/python/cumin cumin/python/cumin/grid wooly/resources
by eallen@fedoraproject.org
Author: eallen
Date: 2011-05-13 16:51:26 +0000 (Fri, 13 May 2011)
New Revision: 4762
Modified:
trunk/cumin/python/cumin/grid/job.strings
trunk/cumin/python/cumin/grid/negotiator.strings
trunk/cumin/python/cumin/objectselector.strings
trunk/cumin/python/cumin/objecttask.strings
trunk/wooly/resources/wooly.js
Log:
Fixes for https://bugzilla.redhat.com/show_bug.cgi?id=704253
- Put // comment characters in front of <![CDATA[ block beginning and end
- Workaround for IE bug when doing background page updates
Modified: trunk/cumin/python/cumin/grid/job.strings
===================================================================
--- trunk/cumin/python/cumin/grid/job.strings 2011-05-12 14:18:15 UTC (rev 4761)
+++ trunk/cumin/python/cumin/grid/job.strings 2011-05-13 16:51:26 UTC (rev 4762)
@@ -148,7 +148,7 @@
</div>
</form>
<script type="text/javascript">
-<![CDATA[
+//<![CDATA[
(function() {
var scrolled = false;
if ({is_tail}) {
@@ -160,7 +160,7 @@
} );
}
}())
-]]>
+//]]>
</script>
[OutputFile.html]
Modified: trunk/cumin/python/cumin/grid/negotiator.strings
===================================================================
--- trunk/cumin/python/cumin/grid/negotiator.strings 2011-05-12 14:18:15 UTC (rev 4761)
+++ trunk/cumin/python/cumin/grid/negotiator.strings 2011-05-13 16:51:26 UTC (rev 4762)
@@ -23,7 +23,7 @@
<div>{hidden_inputs}</div>
</form>
<script type="text/javascript">
-<![CDATA[
+//<![CDATA[
cumin.initializeGroupForm = function () {
cumin.init_sliders("{chart_id}");
@@ -72,7 +72,7 @@
}
}
}
-]]>
+//]]>
</script>
[EditDynamicQuotaForm.css]
Modified: trunk/cumin/python/cumin/objectselector.strings
===================================================================
--- trunk/cumin/python/cumin/objectselector.strings 2011-05-12 14:18:15 UTC (rev 4761)
+++ trunk/cumin/python/cumin/objectselector.strings 2011-05-13 16:51:26 UTC (rev 4762)
@@ -57,7 +57,7 @@
<div>{hidden_inputs}</div>
</form>
<script type="text/javascript">
-<![CDATA[
+//<![CDATA[
$(document.forms[0]).getElements('[type=text]').each(function(el){ new OverText(el, {
positionOptions: {
offset: {
@@ -68,7 +68,7 @@
}); });
{script}
-]]>
+//]]>
</script>
</div>
@@ -139,7 +139,7 @@
<div class="deferredSpacer">Loading...</div>
</div>
<script type="text/javascript">
-<![CDATA[
+//<![CDATA[
(function() {
if (typeof window.reUpdated == "undefined") {
@@ -152,7 +152,7 @@
}
}())
-]]>
+//]]>
</script>
[ObjectQmfSelector.error_html]
@@ -195,7 +195,7 @@
<div id="{id}_details" class="Details" style="display: {style};">{details}</div>
</div>
<script type="text/javascript">
-<![CDATA[
+//<![CDATA[
function showDetails() {
var updateUrl = wooly.branchIntervalUpdate();
var branch = updateUrl["session"];
@@ -213,7 +213,7 @@
}
wooly.restartIntervalUpdate(updateUrl.marshal());
}
-]]>
+//]]>
</script>
[ObjectTableColumn.css]
Modified: trunk/cumin/python/cumin/objecttask.strings
===================================================================
--- trunk/cumin/python/cumin/objecttask.strings 2011-05-12 14:18:15 UTC (rev 4761)
+++ trunk/cumin/python/cumin/objecttask.strings 2011-05-13 16:51:26 UTC (rev 4762)
@@ -1,39 +1,3 @@
-[TaskInvocationSet.css]
-div.TaskInvocationSet {
- background-color: #fe0;
- padding: 1em 2em;
- -moz-border-radius: 0.5em;
- -webkit-border-radius: 0.5em;
- margin: 0.5em auto 1em auto;
- width: 80%;
-}
-
-div.TaskInvocationSet ul {
- margin: 0;
- padding: 0 0 0 1em;
-}
-
-div.TaskInvocationSet a.dismiss {
- float: right;
- font-size: 0.9em;
-}
-
-div.TaskInvocationSet a.dismissall {
- font-size: 0.9em;
-}
-
-[TaskInvocationSet.html]
-<div id="{id}" class="{class}">
- <!-- <a class="dismissall" href="">Dismiss all</a> -->
- <ul>{items}</ul>
-</div>
-
-[TaskInvocationItem.html]
-<li>
- <a class="dismiss" href="{dismiss_href}">Dismiss</a>
- {message}
-</li>
-
[SelectionList.css]
ul.SelectionList {
list-style: none;
Modified: trunk/wooly/resources/wooly.js
===================================================================
--- trunk/wooly/resources/wooly.js 2011-05-12 14:18:15 UTC (rev 4761)
+++ trunk/wooly/resources/wooly.js 2011-05-13 16:51:26 UTC (rev 4762)
@@ -203,12 +203,11 @@
var damnyouie = /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
function replaceNode(newNode, oldNode) {
- var node = copyNode(newNode, true);
- oldNode.parentNode.replaceChild(node, oldNode);
-
if (document.all) {
- // Damn you straight to hell, IE!
- node.outerHTML = node.outerHTML;
+ oldNode.outerHTML = newNode.xml;
+ } else {
+ var node = copyNode(newNode, true);
+ oldNode.parentNode.replaceChild(node, oldNode);
}
}
12 years, 11 months