* specific language governing permissions and limitations
* under the License.
*/
-define("archiva.templates",["text!templates/archiva/menu.html",
+define("archiva.templates",["jquery.tmpl","utils","text!templates/archiva/menu.html",
"text!templates/archiva/generics.html",
"text!templates/archiva/modal.html",
"text!templates/archiva/repositories.html",
"text!templates/archiva/search.html",
- "text!templates/archiva/general-admin.html",
- "jquery.tmpl","utils"],
- function(menu,generics,modal,repositories,
+ "text!templates/archiva/general-admin.html"],
+ function(jqueryTmpl,utils,menu,generics,modal,repositories,
search,general_admin) {
var htmlFragment=$("#html-fragments");
})
.zIndex( this.element.zIndex() + 1 )
// workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781
- .css({ top: 0, left: 0 })
+ // modified for top
+ .css({ top: $(this.element).offset().top+$(this.element ).height(), left: 0 })
.hide()
.data( "menu" );
if ( $.fn.bgiframe ) {
* specific language governing permissions and limitations
* under the License.
*/
-define("redback.templates",["text!templates/redback/user-edit.html",
- "text!templates/redback/login.html",
- "jquery.tmpl","utils"],
- function(useredit, login) {
+define("redback.templates",["jquery.tmpl","utils","text!templates/redback/user-edit.html",
+ "text!templates/redback/login.html"],
+ function(jqueryTmpl,utils,useredit, login) {
var htmlFragment=$("#html-fragments");