mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-30 18:24:29 +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);
|
||
|
});
|
||
|
}
|