Skip to content

Commit

Permalink
Try to fix null pointer exceptions on some platforms in trigger/job v…
Browse files Browse the repository at this point in the history
…iews.
  • Loading branch information
disaacson committed Dec 24, 2013
1 parent 2c587d7 commit e40ae9b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@ <h4 class="text-danger">@triggerForm.errors.filter(_.key == "").map(_.message).m
</div>
<div class="clearfix"></div>
<button type="submit" class="btn btn-default submit-btn">@submitValue</button>
<button type="button" class="btn btn-default submit-btn" onclick="history.back();" value="Cancel">Cancel</button>
</form>
}
4 changes: 3 additions & 1 deletion admin/app/com/lucidchart/piezo/admin/views/job.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ <h3>@currentJob.get.getKey.getGroup() &raquo; <span class="text-info">@currentJo
</tr>
<tr>
<td class="text-right">Description</td>
<td>@currentJob.get.getDescription()</td>
<td>
@if(currentJob.get.getDescription() != null) {@currentJob.get.getDescription()} else {}
</td>
</tr>
<tr>
<td class="text-right small">Durable</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ <h4>This will permanently delete the trigger!</h4>
}
<tr>
<td class="text-right">Description:</td>
<td>@currentTrigger.get.getDescription()</td>
<td>
@if(currentTrigger.get.getDescription() != null) {@currentTrigger.get.getDescription()} else {}
</td>
</tr>
<tr>
<td class="text-right small">End time:</td>
Expand Down

0 comments on commit e40ae9b

Please sign in to comment.