mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:10:12 +01:00
0.1.21 fixes
This commit is contained in:
parent
0004e2b85d
commit
453d20adc5
@ -261,7 +261,8 @@ create table if not exists `folder_extra` (
|
|||||||
`id` int unsigned not null auto_increment,
|
`id` int unsigned not null auto_increment,
|
||||||
`uid` int unsigned not null,
|
`uid` int unsigned not null,
|
||||||
`name` char(64) not null,
|
`name` char(64) not null,
|
||||||
unique(uid, name)
|
unique(uid, name),
|
||||||
|
key (`id`)
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=InnoDB;
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,7 +29,8 @@ create table if not exists `folder_extra` (
|
|||||||
`id` int unsigned not null auto_increment,
|
`id` int unsigned not null auto_increment,
|
||||||
`uid` int unsigned not null,
|
`uid` int unsigned not null,
|
||||||
`name` char(64) not null,
|
`name` char(64) not null,
|
||||||
unique(uid, name)
|
unique(uid, name),
|
||||||
|
key (`id`)
|
||||||
) ENGINE=InnoDB;
|
) ENGINE=InnoDB;
|
||||||
|
|
||||||
create table if not exists `folder_message` (
|
create table if not exists `folder_message` (
|
||||||
|
@ -218,6 +218,7 @@ function assemble_search_term(n, prefix) {
|
|||||||
var e;
|
var e;
|
||||||
var folders = '';
|
var folders = '';
|
||||||
var extra_folders = '';
|
var extra_folders = '';
|
||||||
|
var childNodeArray = new Array();
|
||||||
|
|
||||||
e = document.getElementById(prefix + 'searchtype');
|
e = document.getElementById(prefix + 'searchtype');
|
||||||
if(e && e.value) { data = data + "searchtype=" + e.value; }
|
if(e && e.value) { data = data + "searchtype=" + e.value; }
|
||||||
@ -288,7 +289,10 @@ function assemble_search_term(n, prefix) {
|
|||||||
e = document.getElementById(prefix + 'order');
|
e = document.getElementById(prefix + 'order');
|
||||||
if(e && e.value) { data = data + "&order=" + e.value; }
|
if(e && e.value) { data = data + "&order=" + e.value; }
|
||||||
|
|
||||||
var childNodeArray = document.getElementById('folders').getElementsByTagName('*');
|
|
||||||
|
|
||||||
|
a = document.getElementById('folders');
|
||||||
|
if(a) { childNodeArray = a.getElementsByTagName('*'); }
|
||||||
if(childNodeArray) {
|
if(childNodeArray) {
|
||||||
for(i=0; i<childNodeArray.length; i++) {
|
for(i=0; i<childNodeArray.length; i++) {
|
||||||
b = childNodeArray[i];
|
b = childNodeArray[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user