Moves all JavaScript files that where placed in the model/form folder out of the admin area, into the media folder.
This commit is contained in:
@ -127,7 +127,7 @@ class ###Component###Model###View### extends JModelAdmin
|
||||
*/
|
||||
public function getScript()
|
||||
{
|
||||
return 'administrator/components/com_###component###/models/forms/###view###.js';
|
||||
return 'media/com_###component###/js/###view###.js';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user