File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ <h2>Edit Wiki Post</h2>
117
117
118
118
if ( ! wikiTitle ) {
119
119
alert ( 'No wiki title provided to edit.' ) ;
120
- window . location . href = 'index .html' ; // Redirect to main page
120
+ window . location . href = 'sitemaplinks .html' ; // Redirect to main page
121
121
return ;
122
122
}
123
123
@@ -133,7 +133,7 @@ <h2>Edit Wiki Post</h2>
133
133
134
134
if ( ! wiki ) {
135
135
alert ( 'Wiki not found!' ) ;
136
- window . location . href = 'Wiki/wiki ' ; // Redirect to wiki list if not found
136
+ window . location . href = 'sitemaplinks.html ' ; // Redirect to wiki list if not found
137
137
} else {
138
138
wikiId = wiki . id ; // Store the wiki ID
139
139
wikiTitleInput . value = wiki . title ;
@@ -175,7 +175,7 @@ <h2>Edit Wiki Post</h2>
175
175
176
176
if ( response . ok ) {
177
177
alert ( 'Wiki updated successfully!' ) ;
178
- window . location . href = 'Wiki/wiki .html' ; // Redirect to Wiki/wiki.html after saving
178
+ window . location . href = 'sitemaplinks .html' ; // Redirect to Wiki/wiki.html after saving
179
179
} else {
180
180
const errorDetails = await response . json ( ) ;
181
181
console . error ( 'Failed to update wiki:' , errorDetails ) ;
You can’t perform that action at this time.
0 commit comments