mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-18 10:25:55 +01:00
13 lines
209 B
JavaScript
13 lines
209 B
JavaScript
|
/*
|
||
|
* mod_snippets.js
|
||
|
*
|
||
|
* Javascript snippets to be loaded when in mod mode
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
function populateFormJQuery(frm, data) {
|
||
|
$.each(data, function(key, value){
|
||
|
$('[name='+key+']', frm).val(value);
|
||
|
});
|
||
|
}
|