summaryrefslogtreecommitdiff
path: root/src/www/gfse
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2012-03-26 17:08:29 +0000
committerhallgren <hallgren@chalmers.se>2012-03-26 17:08:29 +0000
commit671c9b539040f2f3e75bac96630805236a97d298 (patch)
tree29a1868d0e5bd55460af8f8e1abe802f428849cf /src/www/gfse
parent14e712595883fa068cd498bf9749d49e55b8c333 (diff)
gfse&minibar: fix bug caused by function name clash
+ Function div_id was defined in both editor.js and support.js. Solution: moved the more general version from editor.js to support.js. + Function div_class was defined in both editor.js and support.js. Solution: resolv incompatibility with an argument type test and put the generalized function in support.js.
Diffstat (limited to 'src/www/gfse')
-rw-r--r--src/www/gfse/editor.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/www/gfse/editor.js b/src/www/gfse/editor.js
index 05cd886ef..6e51d2fc1 100644
--- a/src/www/gfse/editor.js
+++ b/src/www/gfse/editor.js
@@ -1387,8 +1387,6 @@ function touch_edit() {
}
/* --- DOM Support ---------------------------------------------------------- */
-function div_id(id,cs) { return node("div",{id:id},cs); }
-function div_class(cls,cs) { return node("div",{"class":cls},cs); }
function a(url,linked) { return node("a",{href:url},linked); }
function ul(lis) { return node("ul",{},lis); }
function li(xs) { return node("li",{},xs); }