-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update hyrax double combo #2070
Conversation
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) | ||
}) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
|
||
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
var allColorInputs = $("input[name*='color']") | ||
|
||
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
$('.panel-footer a.restore-all-default-colors').click(function(e) { | ||
e.preventDefault() | ||
|
||
var allColorInputs = $("input[name*='color']") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
}) | ||
|
||
$('.panel-footer a.restore-all-default-colors').click(function(e) { | ||
e.preventDefault() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
var input = $("input[name='admin_appearance["+ defaultTarget +"]']") | ||
|
||
input.val(input.data('default-value')) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
var defaultTarget = $(e.target).data('default-target') | ||
var input = $("input[name='admin_appearance["+ defaultTarget +"]']") | ||
|
||
input.val(input.data('default-value')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
e.preventDefault() | ||
|
||
var defaultTarget = $(e.target).data('default-target') | ||
var input = $("input[name='admin_appearance["+ defaultTarget +"]']") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
$('div.defaultable-colors a.restore-default-color').click(function(e) { | ||
e.preventDefault() | ||
|
||
var defaultTarget = $(e.target).data('default-target') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
@@ -0,0 +1,20 @@ | |||
$(document).on('turbolinks:load', function() { | |||
$('div.defaultable-colors a.restore-default-color').click(function(e) { | |||
e.preventDefault() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) | ||
}) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
|
||
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
var allColorInputs = $("input[name*='color']") | ||
|
||
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
$('.panel-footer a.restore-all-default-colors').click(function(e) { | ||
e.preventDefault() | ||
|
||
var allColorInputs = $("input[name*='color']") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
}) | ||
|
||
$('.panel-footer a.restore-all-default-colors').click(function(e) { | ||
e.preventDefault() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
var input = $("input[name='admin_appearance["+ defaultTarget +"]']") | ||
|
||
input.val(input.data('default-value')) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
var defaultTarget = $(e.target).data('default-target') | ||
var input = $("input[name='admin_appearance["+ defaultTarget +"]']") | ||
|
||
input.val(input.data('default-value')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
e.preventDefault() | ||
|
||
var defaultTarget = $(e.target).data('default-target') | ||
var input = $("input[name='admin_appearance["+ defaultTarget +"]']") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
$('div.defaultable-colors a.restore-default-color').click(function(e) { | ||
e.preventDefault() | ||
|
||
var defaultTarget = $(e.target).data('default-target') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
@@ -0,0 +1,20 @@ | |||
$(document).on('turbolinks:load', function() { | |||
$('div.defaultable-colors a.restore-default-color').click(function(e) { | |||
e.preventDefault() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) | ||
}) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
|
||
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
var allColorInputs = $("input[name*='color']") | ||
|
||
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
$('.panel-footer a.restore-all-default-colors').click(function(e) { | ||
e.preventDefault() | ||
|
||
var allColorInputs = $("input[name*='color']") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
}) | ||
|
||
$('.panel-footer a.restore-all-default-colors').click(function(e) { | ||
e.preventDefault() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
$('div.defaultable-colors a.restore-default-color').click(function(e) { | ||
e.preventDefault() | ||
|
||
var defaultTarget = $(e.target).data('default-target') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
@@ -0,0 +1,20 @@ | |||
$(document).on('turbolinks:load', function() { | |||
$('div.defaultable-colors a.restore-default-color').click(function(e) { | |||
e.preventDefault() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
// Grab the data from the ul div | ||
var series_data = new Array(); | ||
var pointer_lookup = new Array(); | ||
var x_ticks = new Array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The array literal notation [] is preferable.
if (domDependenciesMet()) { | ||
// Grab the data from the ul div | ||
var series_data = new Array(); | ||
var pointer_lookup = new Array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The array literal notation [] is preferable.
//flot loaded? And canvas element supported. | ||
if (domDependenciesMet()) { | ||
// Grab the data from the ul div | ||
var series_data = new Array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The array literal notation [] is preferable.
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) | ||
}) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
|
||
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
var allColorInputs = $("input[name*='color']") | ||
|
||
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
$('.panel-footer a.restore-all-default-colors').click(function(e) { | ||
e.preventDefault() | ||
|
||
var allColorInputs = $("input[name*='color']") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
}) | ||
|
||
$('.panel-footer a.restore-all-default-colors').click(function(e) { | ||
e.preventDefault() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
@@ -0,0 +1,20 @@ | |||
$(document).on('turbolinks:load', function() { | |||
$('div.defaultable-colors a.restore-default-color').click(function(e) { | |||
e.preventDefault() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
// Grab the data from the ul div | ||
var series_data = new Array(); | ||
var pointer_lookup = new Array(); | ||
var x_ticks = new Array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The array literal notation [] is preferable.
if (domDependenciesMet()) { | ||
// Grab the data from the ul div | ||
var series_data = new Array(); | ||
var pointer_lookup = new Array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The array literal notation [] is preferable.
//flot loaded? And canvas element supported. | ||
if (domDependenciesMet()) { | ||
// Grab the data from the ul div | ||
var series_data = new Array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The array literal notation [] is preferable.
}; | ||
|
||
global.BlacklightRangeLimit = BlacklightRangeLimit; | ||
}(this); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) | ||
}) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
|
||
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
var allColorInputs = $("input[name*='color']") | ||
|
||
allColorInputs.each(function() { | ||
$(this).val($(this).data('default-value')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
$('.panel-footer a.restore-all-default-colors').click(function(e) { | ||
e.preventDefault() | ||
|
||
var allColorInputs = $("input[name*='color']") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
}) | ||
|
||
$('.panel-footer a.restore-all-default-colors').click(function(e) { | ||
e.preventDefault() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
if (domDependenciesMet()) { | ||
// Grab the data from the ul div | ||
var series_data = new Array(); | ||
var pointer_lookup = new Array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The array literal notation [] is preferable.
//flot loaded? And canvas element supported. | ||
if (domDependenciesMet()) { | ||
// Grab the data from the ul div | ||
var series_data = new Array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The array literal notation [] is preferable.
}; | ||
|
||
global.BlacklightRangeLimit = BlacklightRangeLimit; | ||
}(this); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected an assignment or function call and instead saw an expression.
max = BlacklightRangeLimit.parseNum($(range_element).find(".max").first().text()); | ||
} | ||
|
||
return [min, max] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
|
||
|
||
|
||
var min = max = BlacklightRangeLimit.parseNum(current_limit.find(".single").text()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
You might be leaking a variable (max) here.
Bring in most recent changes from double_combo branch.