1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-26 16:14:35 +02:00

Add new new full JS API for Inputfields, represented by 'Inputfields' JS var. See top of inputfields.js file for details.

This commit is contained in:
Ryan Cramer
2019-10-31 15:29:32 -04:00
parent 7d5cef5717
commit da36905422
5 changed files with 818 additions and 199 deletions

View File

@@ -831,6 +831,10 @@ var ProcessWireAdminTheme = {
$(document).on('reloaded', function() { initFormMarkup($(this)) }); // function() intentional
$(document).on('hideInputfield', showHideInputfield);
$(document).on('showInputfield', showHideInputfield);
$(document).on('columnWidth', '.Inputfield', function(e, width) {
ukGridClass(width, $(this));
return false;
});
$('body').addClass('InputfieldColumnWidthsInit');
initFormMarkup();

File diff suppressed because one or more lines are too long