change the class names to properly reflect new style prefixes
This commit is contained in:
parent
6e1edfea9a
commit
b633978a0d
@ -11,11 +11,11 @@ function CheckBox(parentElement)
|
|||||||
this.ParentElement.checked = this.mvarChecked;
|
this.ParentElement.checked = this.mvarChecked;
|
||||||
if (this.mvarChecked)
|
if (this.mvarChecked)
|
||||||
{
|
{
|
||||||
this.NewParentElement.className = "CheckBox Checked";
|
this.NewParentElement.className = "uwt-checkbox uwt-checked";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.NewParentElement.className = "CheckBox";
|
this.NewParentElement.className = "uwt-checkbox";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!changed) return;
|
if (!changed) return;
|
||||||
@ -31,7 +31,7 @@ function CheckBox(parentElement)
|
|||||||
}
|
}
|
||||||
|
|
||||||
var child = document.createElement("div");
|
var child = document.createElement("div");
|
||||||
child.className = "CheckBox";
|
child.className = "uwt-checkbox";
|
||||||
child.NativeObject = this;
|
child.NativeObject = this;
|
||||||
child.addEventListener("click", function(e)
|
child.addEventListener("click", function(e)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -480,7 +480,7 @@ function ListView(parentElement)
|
|||||||
// begin : magic - do not even begin to attempt to understand this logic
|
// begin : magic - do not even begin to attempt to understand this logic
|
||||||
for (var i = 0; i < parentElement.tHead.rows[0].cells.length; i++)
|
for (var i = 0; i < parentElement.tHead.rows[0].cells.length; i++)
|
||||||
{
|
{
|
||||||
if (parentElement.tHead.rows[0].cells[i].childNodes[0].className == "CheckBox")
|
if (parentElement.tHead.rows[0].cells[i].childNodes[0].className == "uwt-checkbox")
|
||||||
{
|
{
|
||||||
(function(i)
|
(function(i)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user