projects
/
project/og.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
12f33de
)
remove javascript settings in D5 for now. they were getting recursion errors.
5.x-7.3
author
moshe weitzman
Wed, 2 Jul 2008 19:57:44 +0000 (19:57 +0000)
committer
moshe weitzman
Wed, 2 Jul 2008 19:57:44 +0000 (19:57 +0000)
og.module
patch
|
blob
|
blame
|
history
diff --git
a/og.module
b/og.module
index
559e9b0
..
c71507a
100644
(file)
--- a/
og.module
+++ b/
og.module
@@
-251,14
+251,6
@@
function og_set_group_context($group_node = NULL) {
static $stored_group_node;
if (og_is_group_type($group_node->type)) {
$stored_group_node = $group_node;
- drupal_add_js(
- array('og' => array('group_context' => array(
- 'nid' => $group_node->nid,
- 'title' => $group_node->title,
- 'type' => $group_node->type,
- ))),
- 'setting'
- );
}
return $stored_group_node;
}