|
@@ -437,19 +437,17 @@ var sActualBrowser ;
|
|
|
function SetUrl( url, width, height, alt )
|
|
|
{
|
|
|
url = FCK.GetSelectedUrl ( url ) ;
|
|
|
+
|
|
|
// search the URLPrefix like it is the configuration.php file
|
|
|
+ /*
|
|
|
PrefixeUrl = self.location.href.replace(/\/main\/inc\/lib\/fckeditor\/editor\/dialog\/fck_image.\html/, "");
|
|
|
PrefixeUrl = PrefixeUrl.replace(/http:\/\/[^\/]+/, "");
|
|
|
url = PrefixeUrl + url ;
|
|
|
- //
|
|
|
-
|
|
|
- if ( sActualBrowser == 'Link' )
|
|
|
- {
|
|
|
+ */
|
|
|
+ if ( sActualBrowser == 'Link' ) {
|
|
|
GetE('txtLnkUrl').value = url ;
|
|
|
UpdatePreview() ;
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
+ } else {
|
|
|
GetE('txtUrl').value = url ;
|
|
|
GetE('txtWidth').value = width ? width : '' ;
|
|
|
GetE('txtHeight').value = height ? height : '' ;
|