Added another field to admin_view to add custom script to document method of component admin views.

This commit is contained in:
2016-04-22 22:32:02 +01:00
parent 6871bfd9a2
commit 57bf464111
368 changed files with 2332 additions and 2215 deletions

View File

@ -9,7 +9,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.3
@version 2.1.4
@build 22nd April, 2016
@created 30th April, 2015
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.3
@version 2.1.4
@build 22nd April, 2016
@created 30th April, 2015
@package Component Builder

View File

@ -10,7 +10,7 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.3
@version 2.1.4
@build 22nd April, 2016
@created 30th April, 2015
@package Component Builder
@ -195,7 +195,7 @@ class ComponentbuilderViewSnippet extends JViewLegacy
$document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_SNIPPET_NEW' : 'COM_COMPONENTBUILDER_SNIPPET_EDIT'));
$document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/snippet.css");
$document->addScript(JURI::root() . $this->script);
$document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/snippet/submitbutton.js");
$document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/snippet/submitbutton.js");
JText::script('view not acceptable. Error');
}
}