fixed search in firefox
This commit is contained in:
@ -633,7 +633,7 @@ configureEditors: function () {
|
||||
initializeSearchButton: function(){
|
||||
$('.btn-search').button().click(function(){
|
||||
var search = $('#search_search').val();
|
||||
window.open(`https://open.hpi.de/courses/javaeinstieg2017/pinboard?query=${search}`, '_blank', 'toolbar=yes, location=yes, status=yes, menubar=yes, scrollbars=yes');
|
||||
window.open(`https://open.hpi.de/courses/javaeinstieg2017/pinboard?query=${search}`, '_blank');
|
||||
})
|
||||
},
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
/h5 = t('exercises.implement.comment.question')
|
||||
|
||||
/textarea.form-control#question(style='resize:none;')
|
||||
#intervention-text
|
||||
p = "Uns ist aufgefallen, dass du schon lange an dieser Aufgabe sitzt. Möchtest du vielleicht mal eine Pause machen um auf neue Gedanken zu kommen?"
|
||||
|
||||
/p = "AVG: #{@working_time_avg}"
|
||||
/p = "ACCUMULATED: #{@working_time_accumulated}"
|
||||
|
@ -1,14 +1,14 @@
|
||||
/h5 = t('exercises.implement.comment.question')
|
||||
|
||||
/textarea.form-control#question(style='resize:none;')
|
||||
#intervention-text
|
||||
p = "Hast du Probleme beim Lösen der Aufgabe? Benutz doch einfach die Forensuche:"
|
||||
= form_for(@search, multipart: true, target: "_blank") do |f|
|
||||
.form-group
|
||||
= f.text_field(:search, class: 'form-control', required: true)
|
||||
= f.hidden_field :exercise_id
|
||||
|
||||
.actions
|
||||
= f.submit(class: 'btn btn-default btn-search', value: 'Suche', model: @search.class.model_name.human)
|
||||
= f.submit(class: 'btn btn-default btn-search', value: 'Suche im Forum', model: @search.class.model_name.human)
|
||||
/p = "AVG: #{@working_time_avg}"
|
||||
/p = "ACCUMULATED: #{@working_time_accumulated}"
|
||||
|
||||
|
Reference in New Issue
Block a user