Index: trunk/extensions/SemanticForms/specials/SF_UploadWindow.php |
— | — | @@ -564,11 +564,11 @@ |
565 | 565 | // at the end in any case |
566 | 566 | var cur_value = parent.document.getElementById("{$this->mInputID}").value; |
567 | 567 | if (cur_value == '') { |
568 | | - parent.document.getElementById("{$this->mInputID}").value = "$basename {$this->mDelimiter} "; |
| 568 | + parent.document.getElementById("{$this->mInputID}").value = "$basename{$this->mDelimiter} "; |
569 | 569 | } else { |
570 | 570 | var last_char = cur_value.charAt(cur_value.length - 1); |
571 | 571 | if (last_char == '{$this->mDelimiter}' || last_char == ' ') { |
572 | | - parent.document.getElementById("{$this->mInputID}").value += "$basename {$this->mDelimiter} "; |
| 572 | + parent.document.getElementById("{$this->mInputID}").value += "$basename{$this->mDelimiter} "; |
573 | 573 | } else { |
574 | 574 | parent.document.getElementById("{$this->mInputID}").value += "{$this->mDelimiter} $basename{$this->mDelimiter} "; |
575 | 575 | } |