Merging scribus and nighthawk branches
authorDan
Thu, 26 Jun 2008 21:00:25 -0400
changeset 299 0f6f1ace701f
parent 298 499193a6dbe4 (diff)
parent 296 a21faa57e6c6 (current diff)
child 300 614f6ff1a855
Merging scribus and nighthawk branches
--- a/includes/clientside/static/dropdown.js	Thu Jun 12 10:58:48 2008 -0400
+++ b/includes/clientside/static/dropdown.js	Thu Jun 26 21:00:25 2008 -0400
@@ -140,7 +140,7 @@
   }
   if(obj.nextSibling.tagName.toLowerCase() == 'ul' || ( obj.nextSibling.tagName.toLowerCase() == 'div' && obj.nextSibling.className == 'submenu' ))
   {
-    $(a).addClass('liteselected');
+    $(obj).addClass('liteselected');
     //obj.className = 'liteselected';
     var ul = obj.nextSibling;
     var dim = fetch_dimensions(obj);
--- a/includes/wikiformat.php	Thu Jun 12 10:58:48 2008 -0400
+++ b/includes/wikiformat.php	Thu Jun 26 21:00:25 2008 -0400
@@ -154,7 +154,7 @@
         
         chdir($d);
 
-        $obj =& new $class($rules);
+        $obj = new $class($rules);
         return $obj;
     }
 
@@ -514,7 +514,7 @@
             }
         }
 
-        $this->parseObj[$rule] =& new $class($this);
+        $this->parseObj[$rule] = new $class($this);
 
     }
 
@@ -536,7 +536,7 @@
             }
         }
 
-        $this->renderObj[$rule] =& new $class($this);
+        $this->renderObj[$rule] = new $class($this);
     }
 
     function loadFormatObj($format)
@@ -556,7 +556,7 @@
             }
         }
 
-        $this->formatObj[$format] =& new $class($this);
+        $this->formatObj[$format] = new $class($this);
     }
 
     function addPath($type, $dir)