Subversion Repositories munaweb

Rev

Rev 172 | Rev 190 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 172 Rev 188
Line 1651... Line 1651...
1651
        var returnCode = obj.Ack;
1651
        var returnCode = obj.Ack;
1652
        var x = document.getElementById("results");
1652
        var x = document.getElementById("results");
1653
        var str = "";
1653
        var str = "";
1654
 
1654
 
1655
        if (returnCode == 'Success' ||
1655
        if (returnCode == 'Success' ||
1656
            (returnCode == 'Warning' && (obj.Errors.ErrorCode == '21920204' || obj.Errors.ErrorCode == '21917108' || obj.Errors.ErrorCode == '21920205' || obj.Errors.ErrorCode == '21917164' || obj.Errors.ErrorCode == '21920208'))) {
1656
            (returnCode == 'Warning' && (obj.Errors.ErrorCode == '21920270' || obj.Errors.ErrorCode == '21920204' || obj.Errors.ErrorCode == '21917108' || obj.Errors.ErrorCode == '21920205' || obj.Errors.ErrorCode == '21917164' || obj.Errors.ErrorCode == '21920208'))) {
1657
            listButtonHot(true);
1657
            listButtonHot(true);
1658
 
1658
 
1659
            str += '<div class="alert ' + (returnCode == 'Success' ? "alert-success" : "alert-warning" ) + ' alert-dismissible">';
1659
            str += '<div class="alert ' + (returnCode == 'Success' ? "alert-success" : "alert-warning" ) + ' alert-dismissible">';
1660
            str += '<button type="button" class="close" data-dismiss="alert">×</button>';
1660
            str += '<button type="button" class="close" data-dismiss="alert">×</button>';
1661
            str += '<p><strong>' + returnCode + ':</strong></p>';
1661
            str += '<p><strong>' + returnCode + ':</strong></p>';
Line 1795... Line 1795...
1795
        if (x.className.indexOf("w3-show") == -1) {
1795
        if (x.className.indexOf("w3-show") == -1) {
1796
            x.className += " w3-show";
1796
            x.className += " w3-show";
1797
        }
1797
        }
1798
 
1798
 
1799
        if (returnCode == 'Success' ||
1799
        if (returnCode == 'Success' ||
1800
            (returnCode == 'Warning' && (obj.Errors.ErrorCode == '21920204' || obj.Errors.ErrorCode == '21917108' || obj.Errors.ErrorCode == '21920205' || obj.Errors.ErrorCode == '21917164' || obj.Errors.ErrorCode == '21920208'))) {
1800
            (returnCode == 'Warning' && (obj.Errors.ErrorCode == '21920270' || obj.Errors.ErrorCode == '21920204' || obj.Errors.ErrorCode == '21917108' || obj.Errors.ErrorCode == '21920205' || obj.Errors.ErrorCode == '21917164' || obj.Errors.ErrorCode == '21920208'))) {
1801
            listButtonHot(false);
1801
            listButtonHot(false);
1802
            moveImages();
1802
            moveImages();
1803
            ImageURLs = [];
1803
            ImageURLs = [];
1804
            document.getElementById("title").value = "";
1804
            document.getElementById("title").value = "";
1805
            printTitleLength();
1805
            printTitleLength();