Fixed, the problem was a certain character being pushed to a GET query.
 

On Sunday, May 25, 2014 8:09:29 PM UTC+1, cutey Love wrote:

> I have this code and it works for me all the time, but many users tell me 
> it simply does nothing when they execute it, does anyone have any idea as 
> to why?
>  
> $scope.purchase = function()
>     {
>         $scope.cam.ttype = "order";
>         $scope.cam.price = $scope.cost;
>         $scope.cam.bloggers = $scope.bloggerNumber;
>         $scope.cam.name = $scope.order.name;
>         $scope.cam.companyName = $scope.order.companyName;
>         $scope.cam.email = $scope.order.email;
>         $scope.cam.message = escape($scope.order.message.replace(":", ""));
>
>         Order.query($scope.cam)
>                 .$promise.then(function(data) {
>                     window.location = ("http://www.example.com/
> platform/server/confirm.php?order<http://www.jamballa.com/platform/server/confirm.php?order>="
>  
> + data[0].hash);
>                 });
>     };
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to