0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

bug 1009: id variables renamed, added document_id to the document.

cached->id => cached->cache_id
document->id => document->cache_id
onload_snippets_owner => onload_snippets_document_id
Added the distinct document->document_id.
Always reset ecmascript when a document changes for example a next chunk
of it is loaded.
This commit is contained in:
Witold Filipczyk
2008-04-20 22:25:10 +02:00
committed by Kalle Olavi Niemitalo
parent 10caf7a4bc
commit 232c07aa7f
8 changed files with 19 additions and 15 deletions

View File

@@ -50,7 +50,7 @@ struct ecmascript_interpreter {
* ecmascript_fragile, but it can happen i.e. when the urrent document
* is reloaded in another tab and then you just cause the current tab
* to redraw. */
unsigned int onload_snippets_owner;
unsigned int onload_snippets_document_id;
};
/* Why is the interpreter bound to {struct view_state} instead of {struct