change name of alert url template parameter
This commit is contained in:
parent
ca42cb71b9
commit
02aaf46f2b
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@
|
||||||
<script>
|
<script>
|
||||||
$(function(){
|
$(function(){
|
||||||
$(".alert .close").click(function(event){
|
$(".alert .close").click(function(event){
|
||||||
$.get("{{url}}?action=dismiss&id="+$(this).data("id"));
|
$.get("{{serviceUrl}}?action=dismiss&id="+$(this).data("id"));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -62,7 +62,7 @@ public class HalAlertManager implements HttpPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
Templator tmpl = new Templator(FileUtil.find(TMPL_PATH));
|
Templator tmpl = new Templator(FileUtil.find(TMPL_PATH));
|
||||||
tmpl.set("url", getUrl());
|
tmpl.set("serviceUrl", getUrl());
|
||||||
tmpl.set("alerts", alertsClone);
|
tmpl.set("alerts", alertsClone);
|
||||||
return tmpl;
|
return tmpl;
|
||||||
}catch (IOException e){
|
}catch (IOException e){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue