mirror of
https://github.com/apache/struts.git
synced 2026-08-07 15:46:57 +00:00
Fixed embarrasing lack of faith in the "if" statement
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@501618 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -44,13 +44,9 @@ dojo.widget.defineWidget(
|
||||
this.log("Listening to " + this.listenTopics + " to refresh");
|
||||
var topics = this.listenTopics.split(",");
|
||||
if(topics) {
|
||||
if(topics) {
|
||||
if(topics) {
|
||||
dojo.lang.forEach(topics, function(topic){
|
||||
dojo.event.topic.subscribe(topic, self, "reloadContents");
|
||||
});
|
||||
}
|
||||
}
|
||||
dojo.lang.forEach(topics, function(topic){
|
||||
dojo.event.topic.subscribe(topic, self, "reloadContents");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user