Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor code cleanup #4764

Merged
merged 2 commits into from
Mar 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions contribs/gmf/apps/iframe_api/index.html.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@
</ngeo-modal>
<ngeo-modal
ngeo-modal-closable="false"
ng-model="mainCtrl.userMustChangeItsPassword()"
ng-model-options="{getterSetter: true}">
ng-model="mainCtrl.userMustChangeItsPassword">
<div class="modal-header">
<h4 class="modal-title">
{{'You must change your password' | translate}}
Expand Down
8 changes: 4 additions & 4 deletions contribs/gmf/src/lidarprofile/panelComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ const module = angular.module('gmfLidarprofilePanel', [

module.value('gmfLidarprofilePanelTemplateUrl',
/**
* @param {!JQuery} $element Element.
* @param {!angular.IAttributes} $attrs Attributes.
* @return {string} Template.
*/
* @param {!JQuery} $element Element.
* @param {!angular.IAttributes} $attrs Attributes.
* @return {string} Template.
*/
($element, $attrs) => {
const templateUrl = $attrs['gmfLidarprofilePanelTemplateUrl'];
return templateUrl !== undefined ? templateUrl :
Expand Down