AshishJoshi-asj / zfdatagrid

Automatically exported from code.google.com/p/zfdatagrid
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Suggestion: Script in headScript() #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
JS scripts are written directly in HTML code, before Grid HTML. 
Scripts can be set to headScript so the user can decide when and how to put
it (e.g. in HEAD section, or to separate file).

In Table.php on line 1514 just one line would do the job

  $this->_view->headScript()->appendScript($script);
  return '';

Ofc.php is also setting some scripts.

What version of the product are you using? On what operating system?
0.6alpha

Original issue reported on code.google.com by vlatko.b...@gmail.com on 14 Feb 2010 at 5:36

GoogleCodeExporter commented 9 years ago
Hi,

Done..

Best Regards,
Bento Vilas Boas

Original comment by pao.fre...@gmail.com on 14 Feb 2010 at 3:41

GoogleCodeExporter commented 9 years ago
Checked. It works as before.

Original comment by vlatko.b...@gmail.com on 14 Feb 2010 at 3:47

GoogleCodeExporter commented 9 years ago

Original comment by pao.fre...@gmail.com on 14 Feb 2010 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by bento.vi...@gmail.com on 3 Mar 2010 at 4:56