Browse Source

Merge remote-tracking branch 'origin/standalone_develop' into standalone_develop

pull/313/head
“xxq250” 4 years ago
parent
commit
34504ddc39
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      app/views/oauth2/create.js.erb

+ 7
- 0
app/views/oauth2/create.js.erb View File

@@ -0,0 +1,7 @@
<%if @error.present?%>
var alertDiv = $('<div class="alert alert-danger"><%= @error[:msg]%></div>')
$("#container").prepend(alertDiv)
setTimeout(function() {
$('.alert').remove();
}, 3000);
<%end%>

Loading…
Cancel
Save