I have no objection to the removing of haml, but breaking our templates ... bad
This commit is contained in:
parent
5ee91cc296
commit
470ecf97cc
|
@ -1,6 +0,0 @@
|
||||||
%html
|
|
||||||
%head
|
|
||||||
%body
|
|
||||||
:javascript
|
|
||||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
|
||||||
window.close();
|
|
|
@ -2,7 +2,7 @@
|
||||||
<head></head>
|
<head></head>
|
||||||
<body>
|
<body>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
window.opener.Discourse.authenticationComplete(<%=@data.to_json.html_safe%>);
|
||||||
window.close();
|
window.close();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
%html
|
|
||||||
%head
|
|
||||||
%body
|
|
||||||
:javascript
|
|
||||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
|
||||||
window.close();
|
|
|
@ -2,7 +2,7 @@
|
||||||
<head></head>
|
<head></head>
|
||||||
<body>
|
<body>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
window.opener.Discourse.authenticationComplete(<%=@data.to_json.to_json%>);
|
||||||
window.close();
|
window.close();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
%html
|
|
||||||
%head
|
|
||||||
%body
|
|
||||||
:javascript
|
|
||||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
|
||||||
window.close();
|
|
|
@ -2,7 +2,7 @@
|
||||||
<head></head>
|
<head></head>
|
||||||
<body>
|
<body>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.opener.Discourse.authenticationComplete(#{@data.to_json});
|
window.opener.Discourse.authenticationComplete(<%=@data.to_json.html_safe%>);
|
||||||
window.close();
|
window.close();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue