Rev 1915 | Rev 1926 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1915 | Rev 1917 | ||
---|---|---|---|
Line 313... | Line 313... | ||
313 | ); |
313 | ); |
314 | } |
314 | } |
315 | } |
315 | } |
316 | 316 | ||
317 | /* Guardar courseReport 7/12/2017 */ |
317 | /* Guardar courseReport 7/12/2017 */ |
318 | $scope.save = function() |
318 | $scope.saveCourseReportDoc = function() |
319 | { |
319 | { |
320 | widgetCallWithActionParameters( |
320 | widgetCallWithActionParameters( |
321 | "<%=request.getContextPath()%>/user/json/repository.do", |
321 | "<%=request.getContextPath()%>/user/json/repository.do", |
322 | "saveReport", |
322 | "saveCourseReportDoc", |
323 | { |
323 | { |
324 | "report" : BacoJS.stringifyOrdered($scope.report) |
324 | "report" : BacoJS.stringifyOrdered($scope.report) |
325 | }, |
325 | }, |
326 | "#courseReportApp", |
326 | "#courseReportApp", |
327 | function(json) |
327 | function(json) |
Line 343... | Line 343... | ||
343 | <jsp:include page="coursereport/templates.jsp"/> |
343 | <jsp:include page="coursereport/templates.jsp"/> |
344 | 344 | ||
345 | <div class="form-vertical"> |
345 | <div class="form-vertical"> |
346 | <div id="courseReportApp" ng-app="courseReportApp" ng-controller="courseReportAppController"> |
346 | <div id="courseReportApp" ng-app="courseReportApp" ng-controller="courseReportAppController"> |
347 | <div class="web-mensages"></div> |
347 | <div class="web-mensages"></div> |
- | 348 | <button class="btn" ng-click="saveCourseReportDoc()">Save</button> |
|
- | 349 | ||
348 | <div ng-init="section=report;" ng-include="'pt_estgp_estgweb_utils_documentBuilder_DocumentSection'"> |
350 | <div ng-init="section=report;" ng-include="'pt_estgp_estgweb_utils_documentBuilder_DocumentSection'"> |
349 | 351 | ||
350 | </div> |
352 | </div> |
351 | 353 | ||
352 | <!-- <pre class="code">{{ report | json }}</pre> --> |
354 | <!-- <pre class="code">{{ report | json }}</pre> --> |
353 | 355 | ||
354 | 356 | ||
355 | 357 | ||
356 | </div><!--App--> |
358 | </div><!--App--> |
357 | </div> <!--form--> |
359 | </div> <!--form--> |
358 | <!--<button class="md-raised md-button md-ink-ripple" type="button" ng-transclude="" ng-click="save()"><span class="ng-scope">Save</span></button> --> |
- | |
359 | 360 | ||
360 | </div><!--Panel Body--> |
361 | </div><!--Panel Body--> |
361 | 362 | ||
362 | </div><!--Panel--> |
363 | </div><!--Panel--> |
363 | 364 |