2017-09-22 04:56:35 +00:00
|
|
|
$.ajaxSetup({
|
|
|
|
cache: false
|
|
|
|
});
|
2017-06-12 18:39:20 +00:00
|
|
|
$(function() {
|
|
|
|
});
|
2017-10-11 05:20:03 +00:00
|
|
|
|
|
|
|
$( window ).on( "load", function()
|
|
|
|
{
|
2018-07-19 20:40:03 +00:00
|
|
|
// This resizes the peer access field to the placeholder width to better handle translations.
|
|
|
|
$("#new_peer_access").each(function () {
|
|
|
|
//var npa_width = $(this).attr('placeholder').length;
|
|
|
|
//console.log('resize new_peer_access to: ['+npa_width+'].');
|
|
|
|
$(this).attr('size', $(this).attr('placeholder').length);
|
|
|
|
});
|
|
|
|
|
2017-10-11 05:20:03 +00:00
|
|
|
})
|
2018-07-19 20:40:03 +00:00
|
|
|
|