source: branches/new-datamodel/src/ajax/javascripts/search.js

Last change on this file was 50, checked in by lgiessmann, 15 years ago

ajax-client: fixed the following bugs: (1) by requesting all needed topicStubs now there will be requested the instanceOf-topics, too. (2) by showing the "loading"-.GIF and changing the sub-page at the same time - the .Gif will be first set to the initial state, so it won't be removed accidentally anymore. (3) the fragment will be REALLY sent to the server - the "onSuccessFun" will be executed after a succeeded validation. (4) after a bad validation there appears an alert-window with a corresponding message, the same behaviour occurrs by sending the data to the server

File size: 825 bytes
Line 
1//+-----------------------------------------------------------------------------
2//+  Isidorus
3//+  (c) 2008-2009 Marc Kuester, Christoph Ludwig, Lukas Giessmann
4//+
5//+  Isidorus is freely distributable under the LGPL license.
6//+  This ajax module uses the frameworks PrototypeJs and Scriptaculous, both
7//+  are distributed under the MIT license.
8//+  You can find a detailed description in trunk/docs/LGPL-LICENSE.txt and
9//+  in trunk/src/ajax/javascripts/external/MIT-LICENSE.txt.
10//+-----------------------------------------------------------------------------
11
12
13function makeSearch(psi)
14{
15    var content = new Element("div", {"class" : CLASSES.content()});
16    var header = new Element("h1").update("Search a Topic");
17    content.insert({"bottom" : header});
18    $(CLASSES.subPage()).insert({"bottom" : content});
19}
Note: See TracBrowser for help on using the repository browser.