Fixed share popup
authorAlexander Ebert <ebert@woltlab.com>
Mon, 21 Jul 2014 21:06:37 +0000 (23:06 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 21 Jul 2014 21:06:37 +0000 (23:06 +0200)
Closes #1609

wcfsetup/install/files/js/WCF.Message.js

index 1b3e56c2742779e81ae074e61fc97d6f0cd627ba..5a8da944a88d3d5656e7227a5f6357572b3da38e 100644 (file)
@@ -3224,7 +3224,7 @@ WCF.Message.Share.Page = Class.extend({
         * @param       boolean         appendURL
         */
        _share: function(objectName, url, appendURL) {
-               window.open(url.replace(/{pageURL}/, this._pageURL).replace(/{text}/, this._pageDescription + (appendURL ? " " + this._pageURL : "")), 'height=600,width=600');
+               window.open(url.replace(/{pageURL}/, this._pageURL).replace(/{text}/, this._pageDescription + (appendURL ? " " + this._pageURL : "")), objectName, 'height=600,width=600');
        },
        
        /**