mirror of https://github.com/apache/lucene.git
SOLR-3777: Dataimport-UI does not send unchecked checkboxes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387467 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7ae776e2d1
commit
909bd0a60d
|
@ -245,6 +245,9 @@ Bug Fixes
|
||||||
|
|
||||||
* SOLR-3759: Various fixes to the example-DIH configs (Ahmet Arslan, hossman)
|
* SOLR-3759: Various fixes to the example-DIH configs (Ahmet Arslan, hossman)
|
||||||
|
|
||||||
|
* SOLR-3777: Dataimport-UI does not send unchecked checkboxes (Glenn MacStravic
|
||||||
|
via steffkes)
|
||||||
|
|
||||||
Other Changes
|
Other Changes
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -528,6 +528,13 @@ sammy.get
|
||||||
array.push( { name : 'rows', value: rows } );
|
array.push( { name : 'rows', value: rows } );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$( 'input:checkbox', form ).not( ':checked' )
|
||||||
|
.each( function( i, input )
|
||||||
|
{
|
||||||
|
array.push( { name: input.name, value: 'false' } );
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
var custom_parameters = $( '#custom_parameters', form ).val();
|
var custom_parameters = $( '#custom_parameters', form ).val();
|
||||||
if( custom_parameters.length )
|
if( custom_parameters.length )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue