table exit blocking
This commit is contained in:
@@ -27,6 +27,9 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
databap.pageInit = function()
|
databap.pageInit = function()
|
||||||
{
|
{
|
||||||
|
//Blocking exit
|
||||||
|
self.tmp('started', false);
|
||||||
|
|
||||||
//Scroll bar
|
//Scroll bar
|
||||||
self.initScrollBar('#main', '#table', '#table_container');
|
self.initScrollBar('#main', '#table', '#table_container');
|
||||||
|
|
||||||
@@ -43,6 +46,8 @@ databap.onResize = function()
|
|||||||
//self.maximizeElem($('#keywords'), false, $('#table'));
|
//self.maximizeElem($('#keywords'), false, $('#table'));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
databap.onQuit = function(){ return (self.tmp('started') === false); };
|
||||||
|
|
||||||
function Table(oTable)
|
function Table(oTable)
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -62,6 +67,7 @@ function Table(oTable)
|
|||||||
|
|
||||||
$('#title').addDefaultValue('Nom de la table').blur(tableself.checkTitle);
|
$('#title').addDefaultValue('Nom de la table').blur(tableself.checkTitle);
|
||||||
$('#description').addDefaultValue('Description');
|
$('#description').addDefaultValue('Description');
|
||||||
|
$('#keywords').blur(function(){self.tmp('started', ($(this).val()!=''));});
|
||||||
$('#validation').addButton('dummy', '', function(){}, this.ACTION_BTN_ID, '', this.ACTION_BTN_ID);
|
$('#validation').addButton('dummy', '', function(){}, this.ACTION_BTN_ID, '', this.ACTION_BTN_ID);
|
||||||
this.$Button = databap.tmp(this.ACTION_BTN_ID);
|
this.$Button = databap.tmp(this.ACTION_BTN_ID);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user