Merge remote-tracking branch 'origin/master' into error-info
This commit is contained in:
@ -182,6 +182,7 @@ configureEditors: function () {
|
||||
},
|
||||
|
||||
initializeEditors: function () {
|
||||
this.editors = [];
|
||||
$('.editor').each(function (index, element) {
|
||||
|
||||
// Resize frame on load
|
||||
|
@ -196,6 +196,7 @@ CodeOceanEditorSubmissions = {
|
||||
unloadAutoSave: function() {
|
||||
if(this.autosaveTimer != null){
|
||||
this.autosave();
|
||||
clearTimeout(this.autosaveTimer);
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
# Place all the behaviors and hooks related to the matching controller here.
|
||||
# All this logic will automatically be available in application.js.
|
||||
# You can use CoffeeScript in this file: http://coffeescript.org/
|
@ -1,3 +1,5 @@
|
||||
#flash.fixed_error_messages.clickthrough data-message-failure=t('shared.message_failure')
|
||||
#flash.fixed_error_messages data-message-failure=t('shared.message_failure')
|
||||
- %w[alert danger info notice success warning].each do |severity|
|
||||
p.alert.flash class="alert-#{{'alert' => 'warning', 'notice' => 'success'}.fetch(severity, severity)}" id="flash-#{severity}" = flash[severity]
|
||||
div.alert.flash class="alert-#{{'alert' => 'warning', 'notice' => 'success'}.fetch(severity, severity)}" id="flash-#{severity}"
|
||||
p = flash[severity]
|
||||
span.fa.fa-times
|
Reference in New Issue
Block a user