Posting Success Notifications fix
This commit is contained in:
parent
7990441863
commit
a1e52052f3
@ -1,3 +1,6 @@
|
|||||||
|
seaweedchan:
|
||||||
|
- Fix QR not clearing on submit with Posting Success Notifications disabled
|
||||||
|
|
||||||
### 1.1.7 - 2013-05-01
|
### 1.1.7 - 2013-05-01
|
||||||
seaweedchan:
|
seaweedchan:
|
||||||
- External image embedding
|
- External image embedding
|
||||||
|
|||||||
@ -5797,9 +5797,9 @@
|
|||||||
QR.error(err);
|
QR.error(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
QR.cleanNotifications();
|
||||||
|
h1 = $('h1', tmpDoc);
|
||||||
if (Conf['Posting Success Notifications']) {
|
if (Conf['Posting Success Notifications']) {
|
||||||
h1 = $('h1', tmpDoc);
|
|
||||||
QR.cleanNotifications();
|
|
||||||
QR.notifications.push(new Notification('success', h1.textContent, 5));
|
QR.notifications.push(new Notification('success', h1.textContent, 5));
|
||||||
}
|
}
|
||||||
QR.persona.set(post);
|
QR.persona.set(post);
|
||||||
|
|||||||
@ -5818,9 +5818,9 @@
|
|||||||
QR.error(err);
|
QR.error(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
QR.cleanNotifications();
|
||||||
|
h1 = $('h1', tmpDoc);
|
||||||
if (Conf['Posting Success Notifications']) {
|
if (Conf['Posting Success Notifications']) {
|
||||||
h1 = $('h1', tmpDoc);
|
|
||||||
QR.cleanNotifications();
|
|
||||||
QR.notifications.push(new Notification('success', h1.textContent, 5));
|
QR.notifications.push(new Notification('success', h1.textContent, 5));
|
||||||
}
|
}
|
||||||
QR.persona.set(post);
|
QR.persona.set(post);
|
||||||
|
|||||||
@ -5796,9 +5796,9 @@
|
|||||||
QR.error(err);
|
QR.error(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
QR.cleanNotifications();
|
||||||
|
h1 = $('h1', tmpDoc);
|
||||||
if (Conf['Posting Success Notifications']) {
|
if (Conf['Posting Success Notifications']) {
|
||||||
h1 = $('h1', tmpDoc);
|
|
||||||
QR.cleanNotifications();
|
|
||||||
QR.notifications.push(new Notification('success', h1.textContent, 5));
|
QR.notifications.push(new Notification('success', h1.textContent, 5));
|
||||||
}
|
}
|
||||||
QR.persona.set(post);
|
QR.persona.set(post);
|
||||||
|
|||||||
@ -1102,10 +1102,12 @@ QR =
|
|||||||
QR.status()
|
QR.status()
|
||||||
QR.error err
|
QR.error err
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
QR.cleanNotifications()
|
||||||
|
h1 = $ 'h1', tmpDoc
|
||||||
|
|
||||||
if Conf['Posting Success Notifications']
|
if Conf['Posting Success Notifications']
|
||||||
h1 = $ 'h1', tmpDoc
|
|
||||||
QR.cleanNotifications()
|
|
||||||
QR.notifications.push new Notification 'success', h1.textContent, 5
|
QR.notifications.push new Notification 'success', h1.textContent, 5
|
||||||
|
|
||||||
QR.persona.set post
|
QR.persona.set post
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user