projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
83a6a67
)
fix the popup progress bars, whew
author
ivan
<ivan>
Thu, 8 Feb 2007 08:19:37 +0000
(08:19 +0000)
committer
ivan
<ivan>
Thu, 8 Feb 2007 08:19:37 +0000
(08:19 +0000)
FS/FS/CGI.pm
patch
|
blob
|
history
diff --git
a/FS/FS/CGI.pm
b/FS/FS/CGI.pm
index
15561d7
..
4c2693d
100644
(file)
--- a/
FS/FS/CGI.pm
+++ b/
FS/FS/CGI.pm
@@
-230,7
+230,7
@@
sub rooturl {
$url_string =~
s{
/
$url_string =~
s{
/
- (browse|config|docs|edit|graph|misc|search|view|pref|rt)
+ (browse|config|docs|edit|graph|misc|search|view|pref|rt
|elements
)
/
(process/)?
([\w\-\.\/]+)
/
(process/)?
([\w\-\.\/]+)
@@
-238,6
+238,10
@@
sub rooturl {
}
{}x;
}
{}x;
+ #elements because of progress-popup.html...
+ #XXX remove anything from elements that is called directly & prevent
+ #those pages from being served up
+
$url_string .= '/' unless $url_string =~ /\/$/;
$url_string;
$url_string .= '/' unless $url_string =~ /\/$/;
$url_string;