So, I'm trying to implement a link to a tumblr button. When the button is pressed, I want it to open a new window with information about the current page, etc. This works great for facebook, twitter, etc.
But when I do this for the toggle switch, when a new window is opened by the user, it does not load the normal sharing window, but redirects to this URL:
https://www.tumblr.com/widgets/share/tool/banned ?
And displays the following text:
Not Available for Sharing
I am making this new window from an AngularJS controller called by the ng-click directive.
Controller Code:
$scope.openWindow = function() { window.open("http://www.tumblr.com/share", 'newwindow', 'width=400, height=400'); }
html looks like this:
ng-click="openWindow()"
My site works only in a development environment and runs on a local host. I was wondering if this is related to this?
PS The example I used above is the simplest code in the documentation. In fact, my url will have several request parameters giving more detailed information about the page - but it does not even work for me for the most basic type!
source share