OSDN Git Service
(root)
/
webchat
/
WebChat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d3792a3
)
管理コンソール操作後、元の画面に戻れない不具合を修正した
author
gdkhd812
<aaa@wwwcf.co.jp>
Sat, 21 Sep 2013 10:25:57 +0000
(19:25 +0900)
committer
gdkhd812
<aaa@wwwcf.co.jp>
Sat, 21 Sep 2013 10:25:57 +0000
(19:25 +0900)
chat.js
patch
|
blob
|
history
diff --git
a/chat.js
b/chat.js
index
2e901f4
..
5388d6f
100644
(file)
--- a/
chat.js
+++ b/
chat.js
@@
-72,19
+72,19
@@
function admin_postproc(req,res){
if(typeof(req.body.erase) != "undefined")
\r
{
\r
removeLog(req.body.file,function(){
\r
if(typeof(req.body.erase) != "undefined")
\r
{
\r
removeLog(req.body.file,function(){
\r
- res.redirect("/admin");
\r
+ res.redirect("/
chat/
admin");
\r
});
\r
}
\r
if(typeof(req.body.registor) != "undefined")
\r
{
\r
ipbanlist.Update(req.body.newbanlist,function(){
\r
});
\r
}
\r
if(typeof(req.body.registor) != "undefined")
\r
{
\r
ipbanlist.Update(req.body.newbanlist,function(){
\r
- res.redirect("/admin");
\r
+ res.redirect("/
chat/
admin");
\r
});
\r
}
\r
if(typeof(req.body.updateroom) != "undefined")
\r
{
\r
$rooms.Update(req.body,function(){
\r
});
\r
}
\r
if(typeof(req.body.updateroom) != "undefined")
\r
{
\r
$rooms.Update(req.body,function(){
\r
- res.redirect("/admin");
\r
+ res.redirect("/
chat/
admin");
\r
});
\r
}
\r
}
\r
});
\r
}
\r
}
\r