Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "cangunaydin"

Answer

Thank you for the answer, have a nice year also :)

Answer

Hi, I don't have the path ~/Abp/Framework/scripts/libs/abp.jquery.js

Instead of that i have /Abp/Framework/scripts/libs/angularjs/abp.ng.js and it has this method

handleResponse: function (response, defer) { var originalData = response.data;

        if (originalData.success === true) {
            response.data = originalData.result;
            defer.resolve(response);

            if (originalData.targetUrl) {
                abp.ng.http.handleTargetUrl(originalData.targetUrl);
            }
        } else if(originalData.success === false) {
            var messagePromise = null;

            if (originalData.error) {
                messagePromise = abp.ng.http.showError(originalData.error);
            } else {
                originalData.error = defaultError;
            }

            abp.ng.http.logError(originalData.error);

            response.data = originalData.error;
            defer.reject(response);

            if (originalData.unAuthorizedRequest) {
                abp.ng.http.handleUnAuthorizedRequest(messagePromise, originalData.targetUrl);
            }
        }
    }

This happens when we use ng-file-upload plugin. When you cancel the upload it triggers the modal.

Answer

Hello Halil, if i do BundleTable.EnableOptimizations = true; then it is doing the job otherwise release mode or debugging mode do not make any difference on that. I was expecting the same behavior but it doesn't make any difference, i have fixed that by using the BundleTable.EnableOptimizations

Showing 131 to 133 of 133 entries