Permalink
Browse files

Small changes

  • Loading branch information...
1 parent d83dfd4 commit 998db7b142853930eb13657b26586cca498ccd92 Konstantin Vorobyev committed Apr 20, 2012
Showing with 4 additions and 3 deletions.
  1. +1 −0 src/lib/custom-web/cross-utils.js
  2. +1 −1 src/lima1/main.coffee
  3. +1 −1 src/lima1/main.js
  4. +1 −1 src/sstack/sheet.js
@@ -307,6 +307,7 @@ ui.remoteScriptLoader = function (url, object, handler) {
log('DOM loaded', object);
var doc = event.target.contentDocument;
var s = doc.createElement('script');
+ s.async = true;
s.src = url;
doc.body.appendChild(s);
var bridge = {
@@ -272,7 +272,7 @@ class AirDBProvider extends DBProvider
@db.addEventListener 'close', (event) =>
setTimeout () =>
afterClose()
- , 10
+ , 1000
@db.close()
@db.addEventListener air.SQLEvent.SCHEMA, (event) =>
tables = @db.getSchemaResult()?.tables ? []
View
@@ -384,7 +384,7 @@
_this.db.addEventListener('close', function(event) {
return setTimeout(function() {
return afterClose();
- }, 10);
+ }, 1000);
});
return _this.db.close();
};
View
@@ -1020,7 +1020,7 @@ Sheet.prototype.openNote = function(note, inline) {
if (inline) {
if (!note.inline_notes) {
this.expandedNotes[note.id] = true;
- var div = $(document.createElement('div')).addClass('note_inline_notes note_line_hide').appendTo(note.div);
+ var div = $(document.createElement('div')).addClass('note_inline_notes').appendTo(note.div);
$(document.createElement('div')).addClass('clear').appendTo(div);
note.inline_notes = div;
this.proxy('loadNotes', _.bind(function(list, err) {//

0 comments on commit 998db7b

Please sign in to comment.