Holger Frey
7 years ago
1 changed files with 1 additions and 1 deletions
@ -1 +1 @@
@@ -1 +1 @@
|
||||
$(document).ready(function() {
// autocomplete of the username (registration form)
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #firstname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
$('.register #lastname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
// autocomplete of the username (registration form)
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #firstname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
// autocomplete of the username (registration form)
$('.register #lastname').keyup(function() {
});
$('input[name="mark_all"]').click(function() {
var checked_status = this.checked;
$('input[name*="marked"]').each(function() {
this.checked = checked_status;
});
if( $('input[name="mark_all"]').is(':checked') && $('.marking-needed').is(':hidden') ) {
$('.marking-needed').fadeIn("fast");
} else if( $('input[name="mark_all"]').is(':checked') && $('.marking-needed').is(':visible') ) {
// do nothing
} else {
$('.marking-needed').fadeOut("fast");
}
});
$('.register #firstname').keyup(function() {
// show actions only if some data is marked
$('input[name*="marked"]').change(function() {
if( $('input[name*="marked"]').is(':checked') ) {
if( $('.marking-needed').is(':hidden') )
$('.marking-needed').fadeIn("slow");
} else {
$('.marking-needed').fadeOut("slow");
}
});
$('.register #firstname').keyup(function() {
// quick-actions
$('.quick-action a[data-value]').click(function(event) {
event.preventDefault();
var value = $(this).attr('data-value');
var action = $(this).closest('div').attr('data-action');
$('select[name*='+action+']').each(function() {
$(this).val(value);
});
});
$('.register #firstname').keyup(function() {
// submit search
$('.search-form input[type="search"]').keypress(function(event) {
if( event.keyCode == 13 && $('.typeahead.dropdown-menu').is(':hidden') )
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
// aside filter
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #firstname').keyup(function() {
if( $(this).is(':checked') ) {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
} else {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #lastname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
selector: "[rel=tooltip]"
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
// autocomplete of the username (registration form)
});
if ( $('input[name="price_unit"]').length ) {
if( $('input[name="price_unit"]').val() != '' && $('input[name="quantity"]').val() != '' ){
});
$('.register #firstname').keyup(function() {
});
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
});
}
$('input[name="price_unit"], input[name="quantity"]').keyup(function() {
var total = $('input[name="price_unit"]').val().replace(",", ".") * $('input[name="quantity"]').val();
});
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('input[name="price_total_disabled"]').attr( 'placeholder', total );
$('.register #lastname').keyup(function() {
$('.register #lastname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
// autocomplete of the username (registration form)
$('.register #lastname').keyup(function() {
// autocomplete of the username (registration form)
// added currency to total price
if( $('input[name="currency"]').val() != '' ){
$('.register #lastname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
}
$('input[name="currency"]').keyup(function() {
$('.register #lastname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
$('input[name="currency"]').change(function() {
$('.register #lastname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #lastname').keyup(function() {
});
}
}); |
||||
$(document).ready(function() {
function capitalize(s){
});
});
// autocomplete of the username (registration form)
});
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
$('.register #firstname').keyup(function() {
});
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
});
});
$('.register #lastname').keyup(function() {
};
// autocomplete of the username (registration form)
$('.registration .item-user_name input').attr('disabled', 'disabled');
$('.registration .item-user_name input').val( generate_user_name() );
$('.registration .item-first_name input').keyup(function() {
$('.registration .item-user_name input').val( generate_user_name() );
});
$('.registration .item-last_name input').keyup(function() {
$('.registration .item-user_name input').val( generate_user_name() );
});
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.registration .item-user_name input').removeAttr('disabled');
return true;
});
});
// autocomplete of the username (registration form)
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
// "dispatch" clicking a th to the corresponding anchor
$('.register #firstname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
$('.register #lastname').keyup(function() {
this.checked = checked_status;
});
if( $('input[name="mark_all"]').is(':checked') && $('.marking-needed').is(':hidden') ) {
$('.marking-needed').fadeIn("fast");
$('th.sortable').click( function() {
// autocomplete of the username (registration form)
});
// "dispatch" clicking list item in collapse to the corresponding anchor
}
});
// show actions only if some data is marked
$('th.sortable').click( function() {
});
$('input[name="mark_all"]').click(function() {
var checked_status = this.checked;
$('input[name*="marked"]').each(function() {
this.checked = checked_status;
});
}
});
if( $('input[name="mark_all"]').is(':checked') && $('.marking-needed').is(':hidden') ) {
$('.marking-needed').fadeIn("fast");
} else if( $('input[name="mark_all"]').is(':checked') && $('.marking-needed').is(':visible') ) {
// do nothing
} else {
$('.marking-needed').fadeOut("fast");
}
});
});
});
// show actions only if some data is marked
$('input[name*="marked"]').change(function() {
if( $('input[name*="marked"]').is(':checked') ) {
});
if( $('.marking-needed').is(':hidden') )
$('.marking-needed').fadeIn("slow");
} else {
$('.marking-needed').fadeOut("slow");
} else {
}
$('th.sortable').click( function() {
});
// quick-actions
$('.quick-action a[data-value]').click(function(event) {
event.preventDefault();
});
var value = $(this).attr('data-value');
var action = $(this).closest('div').attr('data-action');
$('select[name*='+action+']').each(function() {
$(this).val(value);
});
// submit search
$('.search-form input[type="search"]').keypress(function(event) {
if( event.keyCode == 13 && $('.typeahead.dropdown-menu').is(':hidden') )
$(this).val(value);
});
$('.register #firstname').keyup(function() {
});
});
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #lastname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #firstname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #firstname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
// "dispatch" clicking list item in collapse to the corresponding anchor
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #lastname').keyup(function() {
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
$('.register #username').val( $('.register #firstname').val() + $('.register #lastname').val() );
});
}
}); |
Reference in new issue