- Fixed a bug in the asset manager where you could be redirected to a wrong

page after using the delete, copy, cut, duplicate buttons.
This commit is contained in:
JT Smith 2006-06-24 23:12:42 +00:00
parent e5c8f12957
commit 9287458443
3 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,7 @@
7.0.0
- Welcome to a whole new world of WebGUI. After 2.5 years and 20,000 hours of
development, WebGUI 7 is finally here.
- Fixed a bug in the asset manager where you could be redirected to a wrong
page after using the delete, copy, cut, duplicate buttons.

View file

@ -1212,7 +1212,7 @@ sub manageAssets {
}
if ($hasClips) {
$output .= '<div style="width: 28%; float: left; padding-right: 30px; font-size: 14px;"><fieldset><legend>'.$i18n->get(1082).'</legend>'
.WebGUI::Form::formHeader($self->session)
.WebGUI::Form::formHeader($self->session, {action=>$self->getUrl})
.WebGUI::Form::hidden($self->session,{name=>"func",value=>"pasteList"})
.WebGUI::Form::checkbox($self->session,{extras=>'onclick="toggleClipboardSelectAll(this.form);"'})
.' '.$i18n->get("select all").'<br />'

View file

@ -119,7 +119,7 @@ function AssetManager_Write() {
//added drag image
document.write('<div id="dragImage" class="dragImage"></div>');
document.write('<form method="post" name="assetManagerForm"><input type="hidden" name="func" /><input type="hidden" name="proceed" />');
document.write('<form method="post" action="'+getWebguiProperty('pageURL')+'" name="assetManagerForm"><input type="hidden" name="func" /><input type="hidden" name="proceed" />');
document.write('<table class="am-table">');
document.write('<thead><tr class="am-headers">');
for (var i=0; i<this.Columns.length; i++) {