Browse files

Fix Module designer for Chrome v7.

Signed-off-by: Gustavo Solt <gustavo.solt@mayflower.de>
  • Loading branch information...
1 parent 00b4173 commit f5accf328268b7c254b9ab991b6b46e9676f5e04 @gustavo-solt gustavo-solt committed Nov 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 phprojekt/application/Core/Views/dojo/scripts/Administration/Module/Dnd.js
View
2 phprojekt/application/Core/Views/dojo/scripts/Administration/Module/Dnd.js
@@ -37,7 +37,7 @@ dojo.declare("phpr.Module.Designer", dojo.dnd.AutoSource, {
// Open the edit form
var t = this._normalizedCreator(nodes[0]);
- if (dojo.isIE) {
+ if (dojo.isIE || (dojo.isChrome && dojo.isChrome == 7)) {
dojo.style(t.node.childNodes[0].childNodes[1].childNodes[0].childNodes[2], 'display', 'inline');
} else {
dojo.style(t.node.childNodes[0].childNodes[3].childNodes[0].childNodes[2], 'display', 'inline');

0 comments on commit f5accf3

Please sign in to comment.