i need someone to help me disable the previous days of the calendar. This 
is my js code and me.req.requestDeadline is the thing i need to fix. thank 
all!
var initView = function () {
                me.goBack = goBack;
                getConfigurationList();
                // in case of NEW JOB REQUEST
                if(me.requestId===undefined){
                    if(me.duplicateRequestId !== undefined){
                        pageUtilService.showLoading();
                        
requestService.getDuplicateRequest(me.duplicateRequestId).then(function 
(request) {
                            checkEditRequestPermission(request);
                            me.req = request;
                            me.req.requestDeadline = new 
Date(me.req.requestDeadline);
                            me.req.regDate = new Date();
                            me.activeBreakcrumb = 'Duplicate Job Request';
                        }, function (){
                            pageUtilService.toastError( 'Can not duplicate 
request! please try again.');
                        })
                        .finally(function () {
                            pageUtilService.hideLoading();
                        });
                    }else{
                        prepareDataforNewRequest();
                        me.activeBreakcrumb = 'New Job Request';
                    }
                }

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to